set_bb_depthlimitSets the maximum branch-and-bound depth. void set_bb_depthlimit(lprec *lp, int bb_maxlevel); Return Value set_bb_depthlimit has no return value. 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 bb_maxlevel Specifies the maximum branch-and-bound depth. A positive value means that the depth is absoluut. A negative value means a relative B&B depth limit. The "order" of a MIP problem is defined to be 2x the number of binary variables plus the number of SC and SOS variables. A relative value of -x results in a maximum depth of x times the order of the MIP problem. Remarks The set_bb_depthlimit function sets the maximum branch-and-bound depth. Example
See Also make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_bb_depthlimit |