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, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS 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, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS, solve, is_feasible, get_objective, get_variables, get_ptr_variables, get_constraints, get_ptr_constraints, get_sensitivity_rhs, get_ptr_sensitivity_rhs, get_reduced_costs, get_ptr_reduced_costs, get_sensitivity_obj, get_ptr_sensitivity_obj, get_sensitivity_objex, get_ptr_sensitivity_objex, add_lag_con, get_Lrows |