get_var_branchReturns, for the specified variable, which branch to take first in branch-and-bound algorithm. int get_var_branch(lprec *lp, int column); Return Value get_var_branch returns which branch to take first in branch-and-bound
algorithm.
Parameters lp Pointer to previously created lp model. See return value of make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI column The column number of the variable on which the mode must be returned. It must be between 1 and the number of columns in the lp. If it is not within this range, the return value is the value of get_bb_floorfirst Remarks The get_var_branch function returns which branch to take first in
branch-and-bound algorithm. This can influence solving times considerably.
Depending on the model one rule can be best and for another model another rule. Example
See Also make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, set_var_branch, set_bb_floorfirst, get_bb_floorfirst, set_var_weights, get_var_priority |