Initializing help system before first use

XPRSrefinemipsol (REFINEMIPSOL)

XPRSrefinemipsol

REFINEMIPSOL


Purpose
Executes the MIP solution refiner.
Synopsis
int XPRS_CC XPRSrefinemipsol(XPRSprob prob, int options, const char* flags, const double solution[], double refined_solution[], int* refinestatus);
REFINEMIPSOL
Arguments
prob 
The current problem.
options 
Refinement options:
Reducing MIP fractionality is priority.
Reducing LP infeasibility is priority
flags 
Flags passed to any optimization calls during refinement.
solution 
The MIP solution to refine. Must be a valid MIP solution.
refined_solution 
The refined MIP solution in case of success
refinestatus 
Refinement results:
An error has occurred
The solution has been refined
Current solution meets target criteria
Solution cannot be refined
Further information
The function provides a mechanism to refine the MIP solution by attempting to round any fractional global entity and by attempting to reduce LP infeasibility.
Related topics