XpressProblem.CallbackAPI.PreIntsolCallback
- com.dashoptimization.objects.XpressProblem.CallbackAPI.PreIntsolCallback
-
- 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.PreIntsolCallbackInterface to capturepreintsolevents in anXpressProblem. More details aboutpreintsolevents can be found in the documentation of the corresponding C callback.- See Also:
- C documentation of XPRSaddcbpreintsol()
-
-
Method Summary
Modifier and Type Method Description voidpreIntsol(XpressProblem cbprob, int soltype, IntHolder p_reject, DoubleHolder p_cutoff)Handle apreintsolevent.
-
-
-
Method Detail
-
preIntsol
void preIntsol(XpressProblem cbprob, int soltype, IntHolder p_reject, DoubleHolder p_cutoff)
Handle apreintsolevent. More details aboutpreintsolevents can be found in the documentation of the corresponding C callback.- Parameters:
-
cbprob- The problem passed to the callback function,preintsol. -
soltype- The type of MIP solution that has been found:0: The continuous relaxation solution to the current node of the tree search, which has been found to be integer feasible.1: A MIP solution found by a heuristic.2: A MIP solution provided by the user.
-
p_reject- Set this to 1 if the solution should be rejected. Whensoltypeis zero, this will also drop the node problem. -
p_cutoff- The new cutoff value that the Optimizer will use if the solution is accepted. Ifp_cutoffis assigned a value, the new value will be used instead. The cutoff value will not be updated if the solution is rejected. - See Also:
- C documentation of XPRSaddcbpreintsol()
-
-
© 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.
