AbstractOptNodeListener
- java.lang.Object
-
- com.dashoptimization.AbstractOptNodeListener
-
- All Implemented Interfaces:
-
XPRSoptNodeListener,java.util.EventListener
public abstract class AbstractOptNodeListener extends java.lang.Object implements XPRSoptNodeListener
Convenience implementation ofXPRSoptNodeListener. The class has a more convenientoptNodeEvent(XPRSprob,int)method than the interface.
-
-
Constructor Summary
Constructor Description AbstractOptNodeListener()
-
Method Summary
Modifier and Type Method Description abstract intoptNodeEvent(XPRSprob prob, int infeas)Invoke the callback.voidXPRSoptNodeEvent(XPRSprob prob, java.lang.Object vContext, IntHolder infeas)
-
-
-
Method Detail
-
XPRSoptNodeEvent
public final void XPRSoptNodeEvent(XPRSprob prob, java.lang.Object vContext, IntHolder infeas)
- Specified by:
-
XPRSoptNodeEventin interfaceXPRSoptNodeListener
-
optNodeEvent
public abstract int optNodeEvent(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-2025 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.
