XPRSmipsolenum
- java.lang.Object
-  
  - com.dashoptimization.XPRSobject
-  
    - com.dashoptimization.XPRSmipsolenum
 
 
-  
   
 
 public class XPRSmipsolenum extends XPRSobject Represents a solution pool
-  
    
   -  
        Nested Class SummaryModifier and Type Class and Description classXPRSmipsolenum.AttributesclassXPRSmipsolenum.Controls
 -  
        Constructor SummaryConstructor and Description XPRSmipsolenum()Creates a new MIP solution enumerator managed by the optimizer.
 -  
        Method SummaryModifier and Type Method and Description voidaddGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener)Add a listener for the GetSolutionDiffcallback.voidaddGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, int priority)Add the listener for the GetSolutionDiffcallback.voidaddGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data)Add the listener for the GetSolutionDiffcallback.voidaddGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data, int priority)Add the listener for the GetSolutionDiffcallback.voidaddMsgHandlerListener(XPRSmsgHandlerListener listener)Add a listener for the MsgHandlercallback.voidaddMsgHandlerListener(XPRSmsgHandlerListener listener, int priority)Add the listener for the MsgHandlercallback.voidaddMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data)Add the listener for the MsgHandlercallback.voidaddMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data, int priority)Add the listener for the MsgHandlercallback.XPRSmipsolenum.Attributesattributes()XPRSmipsolenum.Controlscontrols()voiddestroy()Deallocates resources associated with an XPRSobjectintgetCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, double dNewSolMetric, BoolHolder bRejectSoln)intgetCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, double dNewSolMetric, double[] x, int nCols, BoolHolder bRejectSoln)voidgetCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, IntHolder nSolsToCull, double dNewSolMetric, double[] x, int nCols, BoolHolder bRejectSoln)doublegetDblAttrib(int iAttribId)voidgetDblAttrib(int iAttribId, DoubleHolder Val)doublegetDblControl(int iAttribId)voidgetDblControl(int iAttribId, DoubleHolder Val)intgetIntAttrib(int iAttribId)voidgetIntAttrib(int iAttribId, IntHolder Val)intgetIntControl(int iAttribId)voidgetIntControl(int iAttribId, IntHolder Val)java.lang.StringgetLastError()Returns last error message that occurred on this XPRSobjectjava.lang.StringgetLastError(IntHolder iMsgCode)voidgetSolBaseName(StringHolder _sname, int _iStringBufferBytes, IntHolder _iBytesInInternalString)voidgetSolList(int iMetricId, int iRankFirstIndex_Ob, int iRankLastIndex_Ob, int[] iSolutionIds, IntHolder nReturnedSolIds, IntHolder nSols)voidgetSolMetric(int iSolutionId, IntHolder iSolutionIdStatus, int iMetricId, DoubleHolder dMetric)voidmaxim(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols)voidmaxim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols)voidmaxim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols)voidminim(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols)voidminim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols)voidminim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols)voidopt(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols)voidopt(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols)voidopt(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols)voidremoveGetSolutionDiffListener()Removes all GetSolutionDiff listeners from the object.voidremoveGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener)Removes the given GetSolutionDiff listener from the object.voidremoveGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data)Removes the given GetSolutionDiff listener with the given data value from the object.voidremoveGetSolutionDiffListeners()Remove all listeners for the GetSolutionDiff callbackvoidremoveMsgHandlerListener()Removes all MsgHandler listeners from the object.voidremoveMsgHandlerListener(XPRSmsgHandlerListener listener)Removes the given MsgHandler listener from the object.voidremoveMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data)Removes the given MsgHandler listener with the given data value from the object.voidremoveMsgHandlerListeners()Remove all listeners for the MsgHandler callbackvoidsetDblControl(int iAttribId, double Val)voidsetIntControl(int iAttribId, int Val)voidsetSolBaseName(java.lang.String sSolutionBaseName)-  
          Methods inherited from class com.dashoptimization.XPRSobjectaddMsgHandlerListener, addMsgHandlerListener, isDestroyed
 
-  
          
 
-  
        
-  
    
   -  
        Constructor Detail-  XPRSmipsolenumpublic XPRSmipsolenum() throws XPRSexceptionCreates a new MIP solution enumerator managed by the optimizer. XPRS.Init must have been called first.- Throws:
- 
         XPRSexception
 
 
-  
 -  
        Method Detail-  minimpublic void minim(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  maximpublic void maxim(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  optpublic void opt(XPRSprob prob, XPRSmipsolpool msp, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  destroypublic void destroy() throws XPRSexceptionDescription copied from class:XPRSobjectDeallocates resources associated with an XPRSobject- Specified by:
- 
         destroyin classXPRSobject
- Throws:
- 
         XPRSexception
 
 -  minimpublic void minim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  minimpublic void minim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  maximpublic void maxim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  maximpublic void maxim(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  optpublic void opt(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, java.lang.Object p, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  optpublic void opt(XPRSprob prob, XPRSmipsolpool msp, XPRSmipSolEnumHandlerListener f_mse_handler, IntHolder nMaxSols) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  getSolListpublic void getSolList(int iMetricId, int iRankFirstIndex_Ob, int iRankLastIndex_Ob, int[] iSolutionIds, IntHolder nReturnedSolIds, IntHolder nSols) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getSolMetricpublic void getSolMetric(int iSolutionId, IntHolder iSolutionIdStatus, int iMetricId, DoubleHolder dMetric) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getCullChoicepublic void getCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, IntHolder nSolsToCull, double dNewSolMetric, double[] x, int nCols, BoolHolder bRejectSoln) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getCullChoicepublic int getCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, double dNewSolMetric, double[] x, int nCols, BoolHolder bRejectSoln) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getCullChoicepublic int getCullChoice(int iMetricId, int[] cull_sol_id_list, int nMaxSolsToCull, double dNewSolMetric, BoolHolder bRejectSoln) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getIntAttribpublic void getIntAttrib(int iAttribId, IntHolder Val) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getIntAttribpublic int getIntAttrib(int iAttribId) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getDblAttribpublic void getDblAttrib(int iAttribId, DoubleHolder Val) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getDblAttribpublic double getDblAttrib(int iAttribId) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getIntControlpublic void getIntControl(int iAttribId, IntHolder Val) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getIntControlpublic int getIntControl(int iAttribId) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getDblControlpublic void getDblControl(int iAttribId, DoubleHolder Val) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getDblControlpublic double getDblControl(int iAttribId) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  setIntControlpublic void setIntControl(int iAttribId, int Val) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  setDblControlpublic void setDblControl(int iAttribId, double Val) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getLastErrorpublic java.lang.String getLastError() throws XPRSexceptionDescription copied from class:XPRSobjectReturns last error message that occurred on this XPRSobject- Specified by:
- 
         getLastErrorin classXPRSobject
- Throws:
- 
         XPRSexception
 
 -  getLastErrorpublic java.lang.String getLastError(IntHolder iMsgCode) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  setSolBaseNamepublic void setSolBaseName(java.lang.String sSolutionBaseName) throws XPRSexception- Throws:
- 
         XPRSexception
 
 -  getSolBaseNamepublic void getSolBaseName(StringHolder _sname, int _iStringBufferBytes, IntHolder _iBytesInInternalString) throws XPRSexception - Throws:
- 
         XPRSexception
 
 -  addGetSolutionDiffListenerpublic void addGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener) throws XPRSexception Add a listener for the GetSolutionDiffcallback. 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
 
 -  addGetSolutionDiffListenerpublic void addGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data) throws XPRSexception Add the listener for the GetSolutionDiffcallback. 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
 
 -  addGetSolutionDiffListenerpublic void addGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, int priority) throws XPRSexception Add the listener for the GetSolutionDiffcallback. 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
 
 -  addGetSolutionDiffListenerpublic void addGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data, int priority) throws XPRSexception Add the listener for the GetSolutionDiffcallback. 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
 
 -  removeGetSolutionDiffListenerpublic void removeGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener) throws XPRSexception Removes the given GetSolutionDiff listener from the object.- Throws:
- 
         XPRSexception
 
 -  removeGetSolutionDiffListenerpublic void removeGetSolutionDiffListener(XPRSmseGetSolutionDiffListener listener, java.lang.Object data) throws XPRSexception Removes the given GetSolutionDiff listener with the given data value from the object.- Throws:
- 
         XPRSexception
 
 -  removeGetSolutionDiffListenerpublic void removeGetSolutionDiffListener() throws XPRSexceptionRemoves all GetSolutionDiff listeners from the object. @deprecated as of Xpress 7.1, please useremoveGetSolutionDiffListener(XPRSmseGetSolutionDiffListener)orremoveGetSolutionDiffListeners()- Throws:
- 
         XPRSexception
 
 -  removeGetSolutionDiffListenerspublic void removeGetSolutionDiffListeners() throws XPRSexceptionRemove all listeners for the GetSolutionDiff callback- Throws:
- 
         XPRSexception
 
 -  addMsgHandlerListenerpublic void addMsgHandlerListener(XPRSmsgHandlerListener listener) throws XPRSexception Add a listener for the MsgHandlercallback. 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
 
 -  addMsgHandlerListenerpublic void addMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data) throws XPRSexception Add the listener for the MsgHandlercallback. 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
 
 -  addMsgHandlerListenerpublic void addMsgHandlerListener(XPRSmsgHandlerListener listener, int priority) throws XPRSexception Add the listener for the MsgHandlercallback. 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
 
 -  addMsgHandlerListenerpublic void addMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data, int priority) throws XPRSexception Add the listener for the MsgHandlercallback. 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
 
 -  removeMsgHandlerListenerpublic void removeMsgHandlerListener(XPRSmsgHandlerListener listener) throws XPRSexception Removes the given MsgHandler listener from the object.- Throws:
- 
         XPRSexception
 
 -  removeMsgHandlerListenerpublic void removeMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data) throws XPRSexception Removes the given MsgHandler listener with the given data value from the object.- Throws:
- 
         XPRSexception
 
 -  removeMsgHandlerListenerpublic void removeMsgHandlerListener() throws XPRSexceptionRemoves all MsgHandler listeners from the object. @deprecated as of Xpress 7.1, please useremoveMsgHandlerListener(XPRSmsgHandlerListener)orremoveMsgHandlerListeners()- Specified by:
- 
         removeMsgHandlerListenerin classXPRSobject
- Throws:
- 
         XPRSexception
 
 -  removeMsgHandlerListenerspublic void removeMsgHandlerListeners() throws XPRSexceptionRemove all listeners for the MsgHandler callback- Throws:
- 
         XPRSexception
 
 -  attributespublic XPRSmipsolenum.Attributes attributes() 
 -  controlspublic XPRSmipsolenum.Controls controls() 
 
-  
 
-  
        
© 2001-2020 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.
 
