XPRScutRoundListener
- com.dashoptimization.XPRScutRoundListener
-
- All Superinterfaces:
-
java.util.EventListener
public interface XPRScutRoundListener extends java.util.EventListenerInterface for handling CutRound events. More details aboutCutRoundevents can be found in the documentation of the corresponding C callback.
-
-
Method Summary
Modifier and Type Method Description voidXPRScutRoundEvent(XPRSprob cbprob, java.lang.Object cbdata, int ifxpresscuts, IntHolder p_action)Handle aCutRoundevent.
-
-
-
Method Detail
-
XPRScutRoundEvent
void XPRScutRoundEvent(XPRSprob cbprob, java.lang.Object cbdata, int ifxpresscuts, IntHolder p_action)
Handle aCutRoundevent. More details aboutCutRoundevents can be found in the documentation of the corresponding C callback.- Parameters:
-
cbprob- The problem passed to the callback function,cutround. -
cbdata- The user-defined data passed asdatawhen setting up the callback. -
ifxpresscuts- An integer set to 1 if the Optimizer will apply a round of cuts after this callback. 0 otherwise. -
p_action- An integer return value that specifies the action the Optimizer should take:-1: Continue unchanged. The default action.0: No further rounds of cuts should be applied on this node.1: The Optimizer should apply one more round of cutting, regardless of the value ofifxpresscuts2: The Optimizer should process any changes applied during this callback and fire the callback again, but skip any Optimizer cutting.
- See Also:
- C documentation of XPRSaddcbcutround()
-
-
© 2001-2026 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.
