XPRSmipsolenum
- java.lang.Object
-
- com.dashoptimization.XPRSobject
-
- com.dashoptimization.XPRSmipsolenum
-
- All Implemented Interfaces:
-
java.lang.AutoCloseable
@Deprecated public final class XPRSmipsolenum extends XPRSobject
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Represents a solution pool
-
-
Nested Class Summary
Modifier and Type Class Description classXPRSmipsolenum.AttributesDeprecated.Class to access attributes.classXPRSmipsolenum.ControlsDeprecated.Class to access controls.
-
Constructor Summary
Constructor Description XPRSmipsolenum()Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.
-
Method Summary
Modifier and Type Method Description voidaddGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidaddGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, int priority)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidaddGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidaddGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data, int priority)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidaddMsgHandlerListener(XPRSmsgHandlerListener listener)Deprecated.Add a listener for the MsgHandler callback.voidaddMsgHandlerListener(XPRSmsgHandlerListener listener, int priority)Deprecated.Add a listener for the MsgHandler callback.voidaddMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data)Deprecated.Add a listener for the MsgHandler callback.voidaddMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data, int priority)Deprecated.Add a listener for the MsgHandler callback.XPRSmipsolenum.Attributesattributes()Deprecated.Access the attributes of this instance.voidclose()Deprecated.Deallocates resources associated with an XPRSobject.XPRSmipsolenum.Controlscontrols()Deprecated.Access the controls of this instance.intgetCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, double dNewSolMetric, double[] x, int nCols, BoolHolder bRejectSoln)Deprecated.since 48.00.intgetCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, double dNewSolMetric, BoolHolder bRejectSoln)Deprecated.since 48.00.voidgetCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, IntHolder nSolsToCull, double dNewSolMetric, double[] x, int nCols, BoolHolder bRejectSoln)Deprecated.doublegetDblAttrib(int iAttribId)Deprecated.since 48.00.voidgetDblAttrib(int iAttribId, DoubleHolder Val)Deprecated.doublegetDblControl(int iAttribId)Deprecated.since 48.00.voidgetDblControl(int iAttribId, DoubleHolder Val)Deprecated.intgetIntAttrib(int iAttribId)Deprecated.since 48.00.voidgetIntAttrib(int iAttribId, IntHolder Val)Deprecated.intgetIntControl(int iAttribId)Deprecated.since 48.00.voidgetIntControl(int iAttribId, IntHolder Val)Deprecated.java.lang.StringgetLastError()Deprecated.Returns last error message that occurred on this XPRSobject.java.lang.StringgetLastError(IntHolder iMsgCode)Deprecated.voidgetSolBaseName(StringHolder _sname, int _iStringBufferBytes, IntHolder _iBytesInInternalString)Deprecated.voidgetSolList(int iMetricId, int iRankFirstIndex_Ob, int iRankLastIndex_Ob, int[] iSolutionIds, IntHolder nReturnedSolIds, IntHolder nSols)Deprecated.voidgetSolMetric(int iSolutionId, IntHolder iSolutionIdStatus, int iMetricId, DoubleHolder dMetric)Deprecated.voidmaxim(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidmaxim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols)Deprecated.since 48.00.voidmaxim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols)Deprecated.voidminim(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidminim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols)Deprecated.since 48.00.voidminim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols)Deprecated.voidopt(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidopt(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols)Deprecated.since 48.00.voidopt(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols)Deprecated.voidremoveGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidremoveGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data)Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidremoveGetSolutionDiffListeners()Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.voidremoveMsgHandlerListener(XPRSmsgHandlerListener listener)Deprecated.Removes the given MsgHandler listener from the object.voidremoveMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data)Deprecated.Removes the given MsgHandler listener with the given data value from the object.voidremoveMsgHandlerListeners()Deprecated.Remove all listeners for the MsgHandler callbackvoidsetDblControl(int iAttribId, double Val)Deprecated.voidsetIntControl(int iAttribId, int Val)Deprecated.voidsetSolBaseName(java.lang.String sSolutionBaseName)Deprecated.-
Methods inherited from class com.dashoptimization.XPRSobject
addMsgHandlerListener, addMsgHandlerListener, destroy, isDestroyed
-
-
-
-
Constructor Detail
-
XPRSmipsolenum
@Deprecated public XPRSmipsolenum() throws XPRSexceptionDeprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Creates a new MIP solution enumerator managed by the optimizer. XPRS.Init must have been called first.- Throws:
-
XPRSexception
-
-
Method Detail
-
minim
@Deprecated public void minim(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.- Throws:
-
XPRSexception
-
maxim
@Deprecated public void maxim(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.- Throws:
-
XPRSexception
-
opt
@Deprecated public void opt(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.- Throws:
-
XPRSexception
-
close
public void close()
Deprecated.Description copied from class:XPRSobjectDeallocates resources associated with an XPRSobject.- Specified by:
-
closein interfacejava.lang.AutoCloseable - Specified by:
-
closein classXPRSobject
-
minim
public void minim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols) throws XPRSexception
Deprecated.- Throws:
-
XPRSexception
-
minim
@Deprecated public void minim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols) throws XPRSexception
Deprecated.since 48.00.
-
maxim
public void maxim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols) throws XPRSexception
Deprecated.- Throws:
-
XPRSexception
-
maxim
@Deprecated public void maxim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols) throws XPRSexception
Deprecated.since 48.00.
-
opt
public void opt(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols) throws XPRSexception
Deprecated.- Throws:
-
XPRSexception
-
opt
@Deprecated public void opt(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols) throws XPRSexception
Deprecated.since 48.00.Convenience wrapper foropt(XPRSprob, XPRSmipsolpool, XPRSmipSolEnumHandlerListener, Object, com.dashoptimization.IntHolder).
-
getSolList
public void getSolList(int iMetricId, int iRankFirstIndex_Ob, int iRankLastIndex_Ob, int[] iSolutionIds, IntHolder nReturnedSolIds, IntHolder nSols) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getSolMetric
public void getSolMetric(int iSolutionId, IntHolder iSolutionIdStatus, int iMetricId, DoubleHolder dMetric) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getCullChoice
public void getCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, IntHolder nSolsToCull, double dNewSolMetric, double[] x, int nCols, BoolHolder bRejectSoln) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getCullChoice
@Deprecated public int getCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, double dNewSolMetric, double[] x, int nCols, BoolHolder bRejectSoln) throws XPRSexceptionDeprecated.since 48.00.Convenience wrapper forgetCullChoice(int, int[], int, com.dashoptimization.IntHolder, double, double[], int, com.dashoptimization.BoolHolder).- Returns:
-
The value that would be returned by
getCullChoice(int, int[], int, com.dashoptimization.IntHolder, double, double[], int, com.dashoptimization.BoolHolder)as output parameter. - Throws:
-
XPRSexception - See Also:
-
getCullChoice(int, int[], int, com.dashoptimization.IntHolder, double, double[], int, com.dashoptimization.BoolHolder)
-
getCullChoice
@Deprecated public int getCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, double dNewSolMetric, BoolHolder bRejectSoln) throws XPRSexceptionDeprecated.since 48.00.Convenience wrapper forgetCullChoice(int, int[], int, com.dashoptimization.IntHolder, double, double[], int, com.dashoptimization.BoolHolder).- Returns:
-
The value that would be returned by
getCullChoice(int, int[], int, com.dashoptimization.IntHolder, double, double[], int, com.dashoptimization.BoolHolder)as output parameter. - Throws:
-
XPRSexception - See Also:
-
getCullChoice(int, int[], int, com.dashoptimization.IntHolder, double, double[], int, com.dashoptimization.BoolHolder)
-
getIntAttrib
public void getIntAttrib(int iAttribId, IntHolder Val) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getIntAttrib
@Deprecated public int getIntAttrib(int iAttribId) throws XPRSexceptionDeprecated.since 48.00.Convenience wrapper forgetIntAttrib(int, com.dashoptimization.IntHolder).- Returns:
-
The value that would be returned by
getIntAttrib(int, com.dashoptimization.IntHolder)as output parameter. - Throws:
-
XPRSexception - See Also:
-
getIntAttrib(int, com.dashoptimization.IntHolder)
-
getDblAttrib
public void getDblAttrib(int iAttribId, DoubleHolder Val) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getDblAttrib
@Deprecated public double getDblAttrib(int iAttribId) throws XPRSexceptionDeprecated.since 48.00.Convenience wrapper forgetDblAttrib(int, com.dashoptimization.DoubleHolder).- Returns:
-
The value that would be returned by
getDblAttrib(int, com.dashoptimization.DoubleHolder)as output parameter. - Throws:
-
XPRSexception - See Also:
-
getDblAttrib(int, com.dashoptimization.DoubleHolder)
-
getIntControl
public void getIntControl(int iAttribId, IntHolder Val) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getIntControl
@Deprecated public int getIntControl(int iAttribId) throws XPRSexceptionDeprecated.since 48.00.Convenience wrapper forgetIntControl(int, com.dashoptimization.IntHolder).- Returns:
-
The value that would be returned by
getIntControl(int, com.dashoptimization.IntHolder)as output parameter. - Throws:
-
XPRSexception - See Also:
-
getIntControl(int, com.dashoptimization.IntHolder)
-
getDblControl
public void getDblControl(int iAttribId, DoubleHolder Val) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getDblControl
@Deprecated public double getDblControl(int iAttribId) throws XPRSexceptionDeprecated.since 48.00.Convenience wrapper forgetDblControl(int, com.dashoptimization.DoubleHolder).- Returns:
-
The value that would be returned by
getDblControl(int, com.dashoptimization.DoubleHolder)as output parameter. - Throws:
-
XPRSexception - See Also:
-
getDblControl(int, com.dashoptimization.DoubleHolder)
-
setIntControl
public void setIntControl(int iAttribId, int Val) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
setDblControl
public void setDblControl(int iAttribId, double Val) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getLastError
public java.lang.String getLastError() throws XPRSexceptionDeprecated.Description copied from class:XPRSobjectReturns last error message that occurred on this XPRSobject.- Specified by:
-
getLastErrorin classXPRSobject - Returns:
- The last error message that occurred on this instance.
- Throws:
-
XPRSexception
-
getLastError
public java.lang.String getLastError(IntHolder iMsgCode) throws XPRSexception
Deprecated.- Throws:
-
XPRSexception
-
setSolBaseName
public void setSolBaseName(java.lang.String sSolutionBaseName) throws XPRSexceptionDeprecated.- Throws:
-
XPRSexception
-
getSolBaseName
public void getSolBaseName(StringHolder _sname, int _iStringBufferBytes, IntHolder _iBytesInInternalString) throws XPRSexception
Deprecated.- Throws:
-
XPRSexception
-
addGetSolutionDiffListener
@Deprecated public void addGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Add a listener for the GetSolutionDiff callback. Note that an object can have multiple GetSolutionDiff listeners.- Parameters:
-
listener- The listener to which the event will be dispatched. (If null, all GetSolutionDiff listeners will be removed.) - Throws:
-
XPRSexception
-
addGetSolutionDiffListener
@Deprecated public void addGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Add a listener for the GetSolutionDiff callback. Note that an object can have multiple GetSolutionDiff listeners.- Parameters:
-
listener- The listener to which the event will be dispatched. (If null, all GetSolutionDiff listeners will be removed.) -
data- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addGetSolutionDiffListener
@Deprecated public void addGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, int priority) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Add a listener for the GetSolutionDiff callback. Note that an object can have multiple GetSolutionDiff listeners.- Parameters:
-
listener- The listener to which the event will be dispatched. (If null, all GetSolutionDiff listeners will be removed.) -
priority- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addGetSolutionDiffListener
@Deprecated public void addGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data, int priority) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Add a listener for the GetSolutionDiff callback. Note that an object can have multiple GetSolutionDiff listeners.- Parameters:
-
listener- The listener to which the event will be dispatched. (If null, all GetSolutionDiff listeners will be removed.) -
data- An additional object which will be passed down to the callback function -
priority- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
removeGetSolutionDiffListener
@Deprecated public void removeGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Removes the given GetSolutionDiff listener from the object.- Parameters:
-
listener- The listener to remove. - Throws:
-
XPRSexception
-
removeGetSolutionDiffListener
@Deprecated public void removeGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data) throws XPRSexception
Deprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Removes the given GetSolutionDiff listener with the given data value from the object.- Parameters:
-
listener- The listener to remove. -
data- The user data to remove. - Throws:
-
XPRSexception
-
removeGetSolutionDiffListeners
@Deprecated public void removeGetSolutionDiffListeners() throws XPRSexceptionDeprecated.Deprecated since 48.00, use the built-in solution enumeration by setting POOLENUMSTRATEGY instead.Remove all listeners for the GetSolutionDiff callback- Throws:
-
XPRSexception
-
addMsgHandlerListener
public void addMsgHandlerListener(XPRSmsgHandlerListener listener) throws XPRSexception
Deprecated.Add a listener for the MsgHandler callback. Note that an object can have multiple MsgHandler listeners.- Specified by:
-
addMsgHandlerListenerin classXPRSobject - Parameters:
-
listener- The listener to which the event will be dispatched. (If null, all MsgHandler listeners will be removed.) - Throws:
-
XPRSexception
-
addMsgHandlerListener
public void addMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data) throws XPRSexception
Deprecated.Add a listener for the MsgHandler callback. Note that an object can have multiple MsgHandler listeners.- Specified by:
-
addMsgHandlerListenerin classXPRSobject - Parameters:
-
listener- The listener to which the event will be dispatched. (If null, all MsgHandler listeners will be removed.) -
data- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addMsgHandlerListener
public void addMsgHandlerListener(XPRSmsgHandlerListener listener, int priority) throws XPRSexception
Deprecated.Add a listener for the MsgHandler callback. Note that an object can have multiple MsgHandler listeners.- Parameters:
-
listener- The listener to which the event will be dispatched. (If null, all MsgHandler listeners will be removed.) -
priority- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addMsgHandlerListener
public void addMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data, int priority) throws XPRSexception
Deprecated.Add a listener for the MsgHandler callback. Note that an object can have multiple MsgHandler listeners.- Parameters:
-
listener- The listener to which the event will be dispatched. (If null, all MsgHandler listeners will be removed.) -
data- An additional object which will be passed down to the callback function -
priority- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
removeMsgHandlerListener
public void removeMsgHandlerListener(XPRSmsgHandlerListener listener) throws XPRSexception
Deprecated.Removes the given MsgHandler listener from the object.- Parameters:
-
listener- The listener to remove. - Throws:
-
XPRSexception
-
removeMsgHandlerListener
public void removeMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data) throws XPRSexception
Deprecated.Removes the given MsgHandler listener with the given data value from the object.- Parameters:
-
listener- The listener to remove. -
data- The user data to remove. - Throws:
-
XPRSexception
-
removeMsgHandlerListeners
public void removeMsgHandlerListeners() throws XPRSexceptionDeprecated.Remove all listeners for the MsgHandler callback- Throws:
-
XPRSexception
-
attributes
public XPRSmipsolenum.Attributes attributes()
Deprecated.Access the attributes of this instance.- Returns:
- an object that allows accessing the attributes of this instance.
-
controls
public XPRSmipsolenum.Controls controls()
Deprecated.Access the controls of this instance.- Returns:
- an object that allows accessing the controls of this instance.
-
-
© 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.
