AbstractPreNodeListener
- java.lang.Object
-
- com.dashoptimization.AbstractPreNodeListener
-
- All Implemented Interfaces:
- XPRSpreNodeListener, java.util.EventListener
public abstract class AbstractPreNodeListener extends java.lang.Object implements XPRSpreNodeListener
Convenience implementation ofXPRSpreNodeListener. The class has a more convenientpreNodeEvent(XPRSprob,int)method than the interface.
-
-
Constructor Summary
Constructor and Description AbstractPreNodeListener()
-
Method Summary
Modifier and Type Method and Description abstract intpreNodeEvent(XPRSprob prob, int infeas)Invoke the callback.voidXPRSpreNodeEvent(XPRSprob prob, java.lang.Object vContext, IntHolder infeas)
-
-
-
Method Detail
-
XPRSpreNodeEvent
public final void XPRSpreNodeEvent(XPRSprob prob, java.lang.Object vContext, IntHolder infeas)
- Specified by:
-
XPRSpreNodeEventin interfaceXPRSpreNodeListener
-
preNodeEvent
public abstract int preNodeEvent(XPRSprob prob, int infeas)
Invoke the callback.- Parameters:
-
prob- The problem on which the callback is invoked. -
infeas- Feasibility status. - Returns:
- the (updated) feasibility status. Non-zero means infeasible.
-
-
© 2001-2022 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
