XpressProblem.CallbackAPI.CutRoundCallback
- com.dashoptimization.objects.XpressProblem.CallbackAPI.CutRoundCallback
-
- Enclosing class:
- XpressProblem.CallbackAPI
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface XpressProblem.CallbackAPI.CutRoundCallbackInterface to capturecutroundevents in anXpressProblem. More details aboutcutroundevents can be found in the documentation of the corresponding C callback.- See Also:
- C documentation of XPRSaddcbcutround()
-
-
Method Summary
Modifier and Type Method Description voidcutRound(XpressProblem cbprob, int ifxpresscuts, IntHolder p_action)Handle acutroundevent.
-
-
-
Method Detail
-
cutRound
void cutRound(XpressProblem cbprob, 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. -
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.
