XPRSdefaultMipSolEnumHandler
- java.lang.Object
-
- com.dashoptimization.XPRSdefaultMipSolEnumHandler
-
- All Implemented Interfaces:
- XPRSmipSolEnumHandlerListener, java.util.EventListener
public class XPRSdefaultMipSolEnumHandler extends java.lang.Object implements XPRSmipSolEnumHandlerListener
This is the default implementation of XPRSmipSolEnumHandlerListener, included in xprs.jar as com.dashoptimization.XPRSdefaultMipSolEnumHandler. The source code is also included, in the file xpressmp/includes/XPRSdefaultMipSolEnumHandler.java. The XPRSdefaultMipSolEnumHandler class implements most of the functionality you will want to use with the MIP solution enumerator, but you can provide alternate implementations, possibly based on XPRSdefaultMipSolEnumHandler, if you require additional functionality.
-
-
Constructor Summary
Constructor and Description XPRSdefaultMipSolEnumHandler()
-
Method Summary
Modifier and Type Method and Description int
XPRSmipSolEnumHandlerEvent(XPRSmipsolenum mse, XPRSprob prob, XPRSmipsolpool msp, java.lang.Object vContext, IntHolder nMaxSols, double[] x_Zb, int nCols, double dMipObject, DoubleHolder dModifiedObject, BoolHolder bRejectSoln, BoolHolder bUpdateMipAbsCutOffOnCurrentSet)
-
-
-
Method Detail
-
XPRSmipSolEnumHandlerEvent
public int XPRSmipSolEnumHandlerEvent(XPRSmipsolenum mse, XPRSprob prob, XPRSmipsolpool msp, java.lang.Object vContext, IntHolder nMaxSols, double[] x_Zb, int nCols, double dMipObject, DoubleHolder dModifiedObject, BoolHolder bRejectSoln, BoolHolder bUpdateMipAbsCutOffOnCurrentSet)
- Specified by:
-
XPRSmipSolEnumHandlerEvent
in interfaceXPRSmipSolEnumHandlerListener
-
-