lag_solveSolve the model via Lagrangian relaxation. int lag_solve(lprec *lp, REAL start_bound, int num_iter, short verbose); 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 start_bound Initial bound. num_iter Maximum number of iterations. verbose Not used. Still included for backwards compatibility. Use set_lag_trace to set the verbose level. Remarks
The lag_solve function solves the model via Lagrangian relaxation. Gives
the ability to find an integer solution without the branch-and-bound algorithm. Example
See Also make_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, solve, get_statustext, is_feasible, get_objective, get_working_objective, get_variables, get_ptr_variables, get_constraints, get_ptr_constraints, get_sensitivity_rhs, get_ptr_sensitivity_rhs, get_dual_solution, get_ptr_dual_solution, get_var_dualresult, get_sensitivity_obj, get_ptr_sensitivity_obj, get_sensitivity_objex, get_ptr_sensitivity_objex, add_lag_con, get_Lrows |