XPRSprob
- java.lang.Object
-
- com.dashoptimization.XPRSobject
-
- com.dashoptimization.XPRSprob
-
public class XPRSprob extends XPRSobject
-
-
Nested Class Summary
Modifier and Type Class and Description class
XPRSprob.Attributes
class
XPRSprob.Controls
-
Constructor Summary
Constructor and Description XPRSprob()
Creates a new, empty problem.
-
Method Summary
Modifier and Type Method and Description void
addBarIterationListener(XPRSbarIterationListener listener)
Add a listener for the BarIterationcallback.void
addBarIterationListener(XPRSbarIterationListener listener, int priority)
Add the listener for the BarIterationcallback.void
addBarIterationListener(XPRSbarIterationListener listener, java.lang.Object data)
Add the listener for the BarIterationcallback.void
addBarIterationListener(XPRSbarIterationListener listener, java.lang.Object data, int priority)
Add the listener for the BarIterationcallback.void
addBarLogListener(XPRSbarLogListener listener)
Add a listener for the BarLogcallback.void
addBarLogListener(XPRSbarLogListener listener, int priority)
Add the listener for the BarLogcallback.void
addBarLogListener(XPRSbarLogListener listener, java.lang.Object data)
Add the listener for the BarLogcallback.void
addBarLogListener(XPRSbarLogListener listener, java.lang.Object data, int priority)
Add the listener for the BarLogcallback.void
addBeforeSolveListener(XPRSbeforeSolveListener listener)
Add a listener for the BeforeSolvecallback.void
addBeforeSolveListener(XPRSbeforeSolveListener listener, int priority)
Add the listener for the BeforeSolvecallback.void
addBeforeSolveListener(XPRSbeforeSolveListener listener, java.lang.Object data)
Add the listener for the BeforeSolvecallback.void
addBeforeSolveListener(XPRSbeforeSolveListener listener, java.lang.Object data, int priority)
Add the listener for the BeforeSolvecallback.void
addChangeBranchObjectListener(XPRSchangeBranchObjectListener listener)
Add a listener for the ChangeBranchObjectcallback.void
addChangeBranchObjectListener(XPRSchangeBranchObjectListener listener, int priority)
Add the listener for the ChangeBranchObjectcallback.void
addChangeBranchObjectListener(XPRSchangeBranchObjectListener listener, java.lang.Object data)
Add the listener for the ChangeBranchObjectcallback.void
addChangeBranchObjectListener(XPRSchangeBranchObjectListener listener, java.lang.Object data, int priority)
Add the listener for the ChangeBranchObjectcallback.void
addCheckTimeListener(XPRScheckTimeListener listener)
Add a listener for the CheckTimecallback.void
addCheckTimeListener(XPRScheckTimeListener listener, int priority)
Add the listener for the CheckTimecallback.void
addCheckTimeListener(XPRScheckTimeListener listener, java.lang.Object data)
Add the listener for the CheckTimecallback.void
addCheckTimeListener(XPRScheckTimeListener listener, java.lang.Object data, int priority)
Add the listener for the CheckTimecallback.void
addChgBranchListener(XPRSchgBranchListener listener)
Add a listener for the ChgBranchcallback.void
addChgBranchListener(XPRSchgBranchListener listener, int priority)
Add the listener for the ChgBranchcallback.void
addChgBranchListener(XPRSchgBranchListener listener, java.lang.Object data)
Add the listener for the ChgBranchcallback.void
addChgBranchListener(XPRSchgBranchListener listener, java.lang.Object data, int priority)
Add the listener for the ChgBranchcallback.void
addChgNodeListener(XPRSchgNodeListener listener)
Add a listener for the ChgNodecallback.void
addChgNodeListener(XPRSchgNodeListener listener, int priority)
Add the listener for the ChgNodecallback.void
addChgNodeListener(XPRSchgNodeListener listener, java.lang.Object data)
Add the listener for the ChgNodecallback.void
addChgNodeListener(XPRSchgNodeListener listener, java.lang.Object data, int priority)
Add the listener for the ChgNodecallback.void
addCols(int ncols, int ncoeffs, double[] _dobj, int[] _mstart, int[] _mrwind, double[] _dmatval, double[] _dbdl, double[] _dbdu)
void
addCols(int ncols, long ncoeffs, double[] _dobj, long[] _mstart, int[] _mrwind, double[] _dmatval, double[] _dbdl, double[] _dbdu)
void
addCutLogListener(XPRScutLogListener listener)
Add a listener for the CutLogcallback.void
addCutLogListener(XPRScutLogListener listener, int priority)
Add the listener for the CutLogcallback.void
addCutLogListener(XPRScutLogListener listener, java.lang.Object data)
Add the listener for the CutLogcallback.void
addCutLogListener(XPRScutLogListener listener, java.lang.Object data, int priority)
Add the listener for the CutLogcallback.void
addCutMgrListener(XPRScutMgrListener listener)
Add a listener for the CutMgrcallback.void
addCutMgrListener(XPRScutMgrListener listener, int priority)
Add the listener for the CutMgrcallback.void
addCutMgrListener(XPRScutMgrListener listener, java.lang.Object data)
Add the listener for the CutMgrcallback.void
addCutMgrListener(XPRScutMgrListener listener, java.lang.Object data, int priority)
Add the listener for the CutMgrcallback.void
addCuts(int ncuts, int[] mtype, byte[] qrtype, double[] drhs, int[] mstart, int[] mcols, double[] dmatval)
void
addCuts(int ncuts, int[] mtype, byte[] qrtype, double[] drhs, long[] mstart, int[] mcols, double[] dmatval)
void
addDestroyMTListener(XPRSdestroyMTListener listener)
Add a listener for the DestroyMTcallback.void
addDestroyMTListener(XPRSdestroyMTListener listener, int priority)
Add the listener for the DestroyMTcallback.void
addDestroyMTListener(XPRSdestroyMTListener listener, java.lang.Object data)
Add the listener for the DestroyMTcallback.void
addDestroyMTListener(XPRSdestroyMTListener listener, java.lang.Object data, int priority)
Add the listener for the DestroyMTcallback.void
addEstimateListener(XPRSestimateListener listener)
Add a listener for the Estimatecallback.void
addEstimateListener(XPRSestimateListener listener, int priority)
Add the listener for the Estimatecallback.void
addEstimateListener(XPRSestimateListener listener, java.lang.Object data)
Add the listener for the Estimatecallback.void
addEstimateListener(XPRSestimateListener listener, java.lang.Object data, int priority)
Add the listener for the Estimatecallback.void
addGapNotifyListener(XPRSgapNotifyListener listener)
Add a listener for the GapNotifycallback.void
addGapNotifyListener(XPRSgapNotifyListener listener, int priority)
Add the listener for the GapNotifycallback.void
addGapNotifyListener(XPRSgapNotifyListener listener, java.lang.Object data)
Add the listener for the GapNotifycallback.void
addGapNotifyListener(XPRSgapNotifyListener listener, java.lang.Object data, int priority)
Add the listener for the GapNotifycallback.void
addGenCons(int ngencons, int ncols, int nvals, XPRSenumerations.GenConsType[] type, int[] resultant, int[] colstart, int[] col, int[] valstart, double[] val)
void
addGenCons(int ngencons, long ncols, long nvals, XPRSenumerations.GenConsType[] type, int[] resultant, long[] colstart, int[] col, long[] valstart, double[] val)
void
addGlobalLogListener(XPRSglobalLogListener listener)
Add a listener for the GlobalLogcallback.void
addGlobalLogListener(XPRSglobalLogListener listener, int priority)
Add the listener for the GlobalLogcallback.void
addGlobalLogListener(XPRSglobalLogListener listener, java.lang.Object data)
Add the listener for the GlobalLogcallback.void
addGlobalLogListener(XPRSglobalLogListener listener, java.lang.Object data, int priority)
Add the listener for the GlobalLogcallback.void
addInfNodeListener(XPRSinfNodeListener listener)
Add a listener for the InfNodecallback.void
addInfNodeListener(XPRSinfNodeListener listener, int priority)
Add the listener for the InfNodecallback.void
addInfNodeListener(XPRSinfNodeListener listener, java.lang.Object data)
Add the listener for the InfNodecallback.void
addInfNodeListener(XPRSinfNodeListener listener, java.lang.Object data, int priority)
Add the listener for the InfNodecallback.void
addIntSolListener(XPRSintSolListener listener)
Add a listener for the IntSolcallback.void
addIntSolListener(XPRSintSolListener listener, int priority)
Add the listener for the IntSolcallback.void
addIntSolListener(XPRSintSolListener listener, java.lang.Object data)
Add the listener for the IntSolcallback.void
addIntSolListener(XPRSintSolListener listener, java.lang.Object data, int priority)
Add the listener for the IntSolcallback.void
addLpLogListener(XPRSlpLogListener listener)
Add a listener for the LpLogcallback.void
addLpLogListener(XPRSlpLogListener listener, int priority)
Add the listener for the LpLogcallback.void
addLpLogListener(XPRSlpLogListener listener, java.lang.Object data)
Add the listener for the LpLogcallback.void
addLpLogListener(XPRSlpLogListener listener, java.lang.Object data, int priority)
Add the listener for the LpLogcallback.void
addMessageListener(XPRSmessageListener listener)
Add a listener for the Messagecallback.void
addMessageListener(XPRSmessageListener listener, int priority)
Add the listener for the Messagecallback.void
addMessageListener(XPRSmessageListener listener, java.lang.Object data)
Add the listener for the Messagecallback.void
addMessageListener(XPRSmessageListener listener, java.lang.Object data, int priority)
Add the listener for the Messagecallback.void
addMipSol(int ilength, double[] mipsolval, int[] mipsolcol, java.lang.String solname)
void
addMipThreadListener(XPRSmipThreadListener listener)
Add a listener for the MipThreadcallback.void
addMipThreadListener(XPRSmipThreadListener listener, int priority)
Add the listener for the MipThreadcallback.void
addMipThreadListener(XPRSmipThreadListener listener, java.lang.Object data)
Add the listener for the MipThreadcallback.void
addMipThreadListener(XPRSmipThreadListener listener, java.lang.Object data, int priority)
Add the listener for the MipThreadcallback.void
addMsgHandlerListener(XPRSmsgHandlerListener listener)
Add a listener for the MsgHandlercallback.void
addMsgHandlerListener(XPRSmsgHandlerListener listener, int priority)
Add the listener for the MsgHandlercallback.void
addMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data)
Add the listener for the MsgHandlercallback.void
addMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data, int priority)
Add the listener for the MsgHandlercallback.void
addNames(int _itype, java.lang.String[] _sname, int first, int last)
void
addNewnodeListener(XPRSnewnodeListener listener)
Add a listener for the Newnodecallback.void
addNewnodeListener(XPRSnewnodeListener listener, int priority)
Add the listener for the Newnodecallback.void
addNewnodeListener(XPRSnewnodeListener listener, java.lang.Object data)
Add the listener for the Newnodecallback.void
addNewnodeListener(XPRSnewnodeListener listener, java.lang.Object data, int priority)
Add the listener for the Newnodecallback.void
addNodeCutoffListener(XPRSnodeCutoffListener listener)
Add a listener for the NodeCutoffcallback.void
addNodeCutoffListener(XPRSnodeCutoffListener listener, int priority)
Add the listener for the NodeCutoffcallback.void
addNodeCutoffListener(XPRSnodeCutoffListener listener, java.lang.Object data)
Add the listener for the NodeCutoffcallback.void
addNodeCutoffListener(XPRSnodeCutoffListener listener, java.lang.Object data, int priority)
Add the listener for the NodeCutoffcallback.void
addOptNodeListener(XPRSoptNodeListener listener)
Add a listener for the OptNodecallback.void
addOptNodeListener(XPRSoptNodeListener listener, int priority)
Add the listener for the OptNodecallback.void
addOptNodeListener(XPRSoptNodeListener listener, java.lang.Object data)
Add the listener for the OptNodecallback.void
addOptNodeListener(XPRSoptNodeListener listener, java.lang.Object data, int priority)
Add the listener for the OptNodecallback.void
addPreIntsolListener(XPRSpreIntsolListener listener)
Add a listener for the PreIntsolcallback.void
addPreIntsolListener(XPRSpreIntsolListener listener, int priority)
Add the listener for the PreIntsolcallback.void
addPreIntsolListener(XPRSpreIntsolListener listener, java.lang.Object data)
Add the listener for the PreIntsolcallback.void
addPreIntsolListener(XPRSpreIntsolListener listener, java.lang.Object data, int priority)
Add the listener for the PreIntsolcallback.void
addPreNodeListener(XPRSpreNodeListener listener)
Add a listener for the PreNodecallback.void
addPreNodeListener(XPRSpreNodeListener listener, int priority)
Add the listener for the PreNodecallback.void
addPreNodeListener(XPRSpreNodeListener listener, java.lang.Object data)
Add the listener for the PreNodecallback.void
addPreNodeListener(XPRSpreNodeListener listener, java.lang.Object data, int priority)
Add the listener for the PreNodecallback.void
addPresolveListener(XPRSpresolveListener listener)
Add a listener for the Presolvecallback.void
addPresolveListener(XPRSpresolveListener listener, int priority)
Add the listener for the Presolvecallback.void
addPresolveListener(XPRSpresolveListener listener, java.lang.Object data)
Add the listener for the Presolvecallback.void
addPresolveListener(XPRSpresolveListener listener, java.lang.Object data, int priority)
Add the listener for the Presolvecallback.void
addPwlCons(int npwls, int npoints, int[] cols, int[] resultant, int[] start, double[] xval, double[] yval)
void
addPwlCons(int npwls, long npoints, int[] cols, int[] resultant, long[] start, double[] xval, double[] yval)
void
addQMatrix(int irow, int nqtr, int[] mqc1, int[] mqc2, double[] dqew)
void
addQMatrix(int irow, long nqtr, int[] mqc1, int[] mqc2, double[] dqew)
void
addRows(int nrows, int ncoeffs, byte[] _srowtype, double[] _drhs, double[] _drng, int[] _mstart, int[] _mclind, double[] _dmatval)
void
addRows(int nrows, int ncoeffs, byte[] _srowtype, double[] _drhs, int[] _mstart, int[] _mclind, double[] _dmatval)
void
addRows(int nrows, long ncoeffs, byte[] _srowtype, double[] _drhs, double[] _drng, long[] _mstart, int[] _mclind, double[] _dmatval)
void
addRows(int nrows, long ncoeffs, byte[] _srowtype, double[] _drhs, long[] _mstart, int[] _mclind, double[] _dmatval)
void
addSepNodeListener(XPRSsepNodeListener listener)
Add a listener for the SepNodecallback.void
addSepNodeListener(XPRSsepNodeListener listener, int priority)
Add the listener for the SepNodecallback.void
addSepNodeListener(XPRSsepNodeListener listener, java.lang.Object data)
Add the listener for the SepNodecallback.void
addSepNodeListener(XPRSsepNodeListener listener, java.lang.Object data, int priority)
Add the listener for the SepNodecallback.void
addSetNames(java.lang.String[] _sname, int first, int last)
void
addSets(int newsets, int newnz, byte[] qstype, int[] msstart, int[] mscols, double[] dref)
void
addSets(int newsets, long newnz, byte[] qstype, long[] msstart, int[] mscols, double[] dref)
void
addUserSolNotifyListener(XPRSuserSolNotifyListener listener)
Add a listener for the UserSolNotifycallback.void
addUserSolNotifyListener(XPRSuserSolNotifyListener listener, int priority)
Add the listener for the UserSolNotifycallback.void
addUserSolNotifyListener(XPRSuserSolNotifyListener listener, java.lang.Object data)
Add the listener for the UserSolNotifycallback.void
addUserSolNotifyListener(XPRSuserSolNotifyListener listener, java.lang.Object data, int priority)
Add the listener for the UserSolNotifycallback.void
alter(java.lang.String _sfilename)
XPRSprob.Attributes
attributes()
void
basisCondition(DoubleHolder condnum, DoubleHolder scondnum)
void
basisStability(int typecode, int norm, int ifscaled, DoubleHolder dval)
void
btran(double[] dwork)
void
calcObjective(double[] solution, DoubleHolder objective)
void
calcReducedCosts(double[] duals, double[] solution, double[] calculateddjs)
void
calcSlacks(double[] solution, double[] calculatedslacks)
void
calcSolInfo(double[] solution, double[] dual, int Property, DoubleHolder Value)
void
chgBounds(int nbnds, int[] _mindex, byte[] _sboundtype, double[] _dbnd)
void
chgCoef(int _irow, int _icol, double _dval)
void
chgColType(int ncols, int[] _mindex, byte[] _coltype)
void
chgGlbLimit(int ncols, int[] _mindex, double[] _dlimit)
void
chgMCoef(int[] _mrow, int[] _mcol, double[] _dval, int ncoeffs)
Deprecated.void
chgMCoef(int ncoeffs, int[] _mrow, int[] _mcol, double[] _dval)
void
chgMCoef(long ncoeffs, int[] _mrow, int[] _mcol, double[] _dval)
void
chgMQObj(int[] _mcol1, int[] _mcol2, double[] _dval, int ncols)
Deprecated.void
chgMQObj(int ncols, int[] _mcol1, int[] _mcol2, double[] _dval)
void
chgMQObj(long ncols, int[] _mcol1, int[] _mcol2, double[] _dval)
void
chgObj(int ncols, int[] _mindex, double[] _dobj)
void
chgObjSense(int objsense)
Deprecated.use chgObjSense(com.dashoptimization.XPRSenumerations.ObjSense) insteadvoid
chgObjSense(XPRSenumerations.ObjSense objsense)
void
chgQObj(int _icol, int _jcol, double _dval)
void
chgQRowCoeff(int irow, int icol, int jcol, double dval)
void
chgRHS(int nrows, int[] _mindex, double[] _drhs)
void
chgRHSrange(int nrows, int[] _mindex, double[] _drng)
void
chgRowType(int nrows, int[] _mindex, byte[] _srowtype)
void
clearIIS()
XPRSprob.Controls
controls()
void
copyCallBacks(XPRSprob src)
void
copyControls(XPRSprob src)
void
copyProb(XPRSprob src)
Copy another problem over this oneXPRSbranchobject
createBranchObject(boolean isOriginal)
Creates a new XPRSbranchobjectXPRSbranchobject
createBranchObjectFromGlobal(int icol)
Creates a new XPRSbranchobjectvoid
crossoverLpSol(IntHolder status)
void
delCols(int ncols, int[] _mindex)
void
delCPCuts()
void
delCPCuts(int itype, int interp)
void
delCPCuts(int itype, int interp, int ncuts, long[] mcutind)
Deprecated.void
delCPCuts(int itype, int interp, int ncuts, XPRScut[] mcutind)
void
delCPCuts(int ncuts, XPRScut[] mcutind)
void
delCuts(int ibasis)
void
delCuts(int ibasis, int itype, int interp)
void
delCuts(int ibasis, int itype, int interp, double delta)
void
delCuts(int ibasis, int itype, int interp, double delta, int ncuts, long[] mcutind)
Deprecated.void
delCuts(int ibasis, int itype, int interp, double delta, int ncuts, XPRScut[] mcutind)
void
delCuts(int ibasis, int ncuts, XPRScut[] mcutind)
void
delGenCons(int ngencons, int[] _mindex)
void
delIndicators(int first, int last)
void
delPwlCons(int npwls, int[] _mindex)
void
delQMatrix(int irow)
void
delRows(int nrows, int[] _mindex)
void
delSets(int nsets, int[] msindex)
void
destroy()
Destroy the problem, deallocating all memory used.void
destroyProb()
void
dumpControls()
void
estimateRowDualRanges(int nRows, int[] rowIndices, int iterationLimit, double[] minDualActivity, double[] maxDualActivity)
int
firstIIS(int iismode)
void
firstIIS(int iismode, IntHolder status_code)
void
fixGlobals(int options)
void
ftran(double[] dwork)
void
getAttribInfo(java.lang.String sCaName, IntHolder iHeaderId, XPRSenumerationHolders.ParameterType iTypeinfo)
void
getBarNumStability(int[] dColumnStability, int[] dRowStability)
void
getBasis(int[] _mrowstatus, int[] _mcolstatus)
void
getBasisVal(int row, int col, IntHolder _rowstatus, IntHolder _colstatus)
double
getCoef(int _irow, int _icol)
void
getCoef(int _irow, int _icol, DoubleHolder _dval)
void
getColRange(double[] _upact, double[] _loact, double[] _uup, double[] _udn, double[] _ucost, double[] _lcost)
void
getCols(int[] _mstart, int[] _mrwind, double[] _dmatval, int maxcoeffs, IntHolder ncoeffs, int first, int last)
int
getCols(int[] _mstart, int[] _mrwind, double[] _dmatval, int maxcoeffs, int first, int last)
long
getCols(long[] _mstart, int[] _mrwind, double[] _dmatval, long maxcoeffs, int first, int last)
void
getCols(long[] _mstart, int[] _mrwind, double[] _dmatval, long maxcoeffs, LongHolder ncoeffs, int first, int last)
void
getColType(byte[] _coltype, int first, int last)
void
getControlInfo(java.lang.String sCaName, IntHolder iHeaderId, XPRSenumerationHolders.ParameterType iTypeinfo)
void
getCPCutList(int itype, int interp, double delta, IntHolder ncuts, int maxcuts, long[] mcutind, double[] dviol)
void
getCPCutList(int itype, int interp, double delta, IntHolder ncuts, int maxcuts, XPRScut[] mcutind, double[] dviol)
int
getCPCutList(int itype, int interp, double delta, int maxcuts, XPRScut[] mcutind, double[] dviol)
int
getCPCutList(int maxcuts, XPRScut[] mcutind, double[] dviol)
void
getCPCuts(long[] mindex, int ncuts, int size, int[] mtype, byte[] qrtype, int[] mstart, int[] mcols, double[] dmatval, double[] drhs)
Deprecated.void
getCPCuts(XPRScut[] mindex, int ncuts, int size, int[] mtype, byte[] qrtype, int[] mstart, int[] mcols, double[] dmatval, double[] drhs)
void
getCPCuts(XPRScut[] mindex, int ncuts, long size, int[] mtype, byte[] qrtype, long[] mstart, int[] mcols, double[] dmatval, double[] drhs)
void
getCutList(int itype, int interp, IntHolder ncuts, int maxcuts, long[] mcutind)
Deprecated.void
getCutList(int itype, int interp, IntHolder ncuts, int maxcuts, XPRScut[] mcutind)
int
getCutList(int itype, int interp, int maxcuts, XPRScut[] mcutind)
int
getCutList(int maxcuts, XPRScut[] mcutind)
void
getCutMap(int ncuts, XPRScut[] cuts, int[] cutmap)
void
getCutSlack(XPRScut cut, DoubleHolder dslack)
double
getDblAttrib(int _index)
void
getDblAttrib(int _index, DoubleHolder _dvalue)
double
getDblControl(int _index)
void
getDblControl(int _index, DoubleHolder _dvalue)
int
getDirs()
int
getDirs(int[] _mcols, int[] _mpri, byte[] _sbr, double[] dupc, double[] ddpc)
void
getDirs(IntHolder ndirs, int[] _mcols, int[] _mpri, byte[] _sbr, double[] dupc, double[] ddpc)
void
getDualRay(double[] _ddray, IntHolder _hasray)
void
getGenCons(XPRSenumerations.GenConsType[] type, int[] resultant, int[] colstart, int[] col, int colsize, IntHolder ncols, int[] valstart, double[] val, int valsize, IntHolder nvals, int first, int last)
void
getGenCons(XPRSenumerations.GenConsType[] type, int[] resultant, long[] colstart, int[] col, long colsize, LongHolder ncols, long[] valstart, double[] val, long valsize, LongHolder nvals, int first, int last)
int
getGlobal(byte[] _sgtype, int[] _mgcols, double[] _dlim)
void
getGlobal(IntHolder ngents, byte[] _sgtype, int[] _mgcols, double[] _dlim)
void
getGlobal(IntHolder ngents, IntHolder nsets, byte[] _sgtype, int[] _mgcols, double[] _dlim, byte[] _sstype, int[] _msstart, int[] _mscols, double[] _dref)
void
getGlobal(IntHolder ngents, IntHolder nsets, byte[] _sgtype, int[] _mgcols, double[] _dlim, byte[] _sstype, long[] _msstart, int[] _mscols, double[] _dref)
void
getiis(IntHolder ncols, IntHolder nrows)
void
getiis(IntHolder ncols, IntHolder nrows, int[] _miiscol, int[] _miisrow)
void
getIISData(int number, IntHolder rownumber, IntHolder colnumber, int[] miisrow, int[] miiscol, byte[] constrainttype, byte[] colbndtype, double[] duals, double[] rdcs, byte[] isolationrows, byte[] isolationcols)
int
getIndex(int _itype, java.lang.String _sname)
void
getIndex(int _itype, java.lang.String _sname, IntHolder _iseq)
void
getIndicators(int[] _inds, int[] _comps, int first, int last)
void
getInfeas(IntHolder npv, IntHolder nps, IntHolder nds, IntHolder ndv, int[] mx, int[] mslack, int[] mdual, int[] mdj)
int
getIntAttrib(int _index)
void
getIntAttrib(int _index, IntHolder _ivalue)
int
getIntControl(int _index)
void
getIntControl(int _index, IntHolder _ivalue)
void
getLastBarSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj, IntHolder lpstatus)
java.lang.String
getLastError()
Returns last error message that occurred on this XPRSobjectvoid
getLastError(StringHolder errmsg)
void
getLB(double[] _dbdl, int first, int last)
long
getLongAttrib(int _index)
void
getLongAttrib(int _index, LongHolder _ivalue)
long
getLongControl(int _index)
void
getLongControl(int _index, LongHolder _ivalue)
void
getLpSol(double[] _dx)
void
getLpSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj)
void
getLpSolVal(int col, int row, DoubleHolder _dx, DoubleHolder _dslack, DoubleHolder _dual, DoubleHolder _dj)
int
getMessageStatus(int errcode)
void
getMessageStatus(int errcode, IntHolder bEnabledStatus)
void
getMipSol(double[] _dx)
void
getMipSol(double[] _dx, double[] _dslack)
void
getMipSolVal(int col, int row, DoubleHolder _dx, DoubleHolder _dslack)
void
getMQObj(int[] _mstart, int[] _mclind, double[] _dobjval, int maxcoeffs, IntHolder ncoeffs, int first, int last)
int
getMQObj(int[] _mstart, int[] _mclind, double[] _dobjval, int maxcoeffs, int first, int last)
long
getMQObj(long[] _mstart, int[] _mclind, double[] _dobjval, long maxcoeffs, int first, int last)
void
getMQObj(long[] _mstart, int[] _mclind, double[] _dobjval, long maxcoeffs, LongHolder ncoeffs, int first, int last)
XPRSnamelist
getNameListObject(int _itype)
java.lang.String[]
getNames(int _itype, int first, int last)
void
getNames(int _itype, java.lang.String[] _sbuff, int first, int last)
void
getObj(double[] _dobj, int first, int last)
void
getPivotOrder(int[] mpiv)
void
getPivots(int _in, int[] _mout, double[] _dout, DoubleHolder _dobjo, IntHolder npiv, int maxpiv)
void
getPresolveBasis(int[] _mrowstatus, int[] _mcolstatus)
void
getPresolveMap(int[] rowmap, int[] colmap)
void
getPresolveSol(double[] _dx)
void
getPresolveSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj)
void
getPrimalRay(double[] _dpray, IntHolder _hasray)
java.lang.String
getProbName()
void
getProbName(StringHolder _svalue)
void
getPwlCons(int[] col, int[] resultant, int[] start, double[] xval, double[] yval, int size, IntHolder npoints, int first, int last)
void
getPwlCons(int[] col, int[] resultant, long[] start, double[] xval, double[] yval, long size, LongHolder npoints, int first, int last)
double
getQObj(int _icol, int _jcol)
void
getQObj(int _icol, int _jcol, DoubleHolder _dval)
double
getQRowCoeff(int irow, int icol, int jcol)
void
getQRowCoeff(int irow, int icol, int jcol, DoubleHolder dval)
void
getQRowQMatrix(int irow, int[] mstart, int[] mclind, double[] dobjval, int maxcoeffs, IntHolder ncoeffs, int first, int last)
int
getQRowQMatrix(int irow, int[] mstart, int[] mclind, double[] dobjval, int maxcoeffs, int first, int last)
int
getQRowQMatrixTriplets(int irow, int[] mqcol1, int[] mqcol2, double[] dqe)
void
getQRowQMatrixTriplets(int irow, IntHolder nqelem, int[] mqcol1, int[] mqcol2, double[] dqe)
int
getQRows()
int
getQRows(int[] qcrows)
void
getQRows(IntHolder qmn, int[] qcrows)
void
getRHS(double[] _drhs, int first, int last)
void
getRHSrange(double[] _drng, int first, int last)
void
getRowRange(double[] _upact, double[] _loact, double[] _uup, double[] _udn)
void
getRows(int[] _mstart, int[] _mclind, double[] _dmatval, int maxcoeffs, IntHolder ncoeffs, int first, int last)
int
getRows(int[] _mstart, int[] _mclind, double[] _dmatval, int maxcoeffs, int first, int last)
long
getRows(long[] _mstart, int[] _mclind, double[] _dmatval, long maxcoeffs, int first, int last)
void
getRows(long[] _mstart, int[] _mclind, double[] _dmatval, long maxcoeffs, LongHolder ncoeffs, int first, int last)
void
getRowType(byte[] _srowtype, int first, int last)
void
getScaledInfeas(IntHolder npv, IntHolder nps, IntHolder nds, IntHolder ndv, int[] mx, int[] mslack, int[] mdual, int[] mdj)
void
getSol(double[] _dx)
void
getSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj)
java.lang.String
getStrAttrib(int _index)
void
getStrAttrib(int _index, StringHolder _cvalue)
java.lang.String
getStrControl(int _index)
void
getStrControl(int _index, StringHolder _svalue)
void
getStringControl(int _index, StringHolder _svalue, int _svaluesize, IntHolder _controlsize)
void
getStrStringAttrib(int _index, StringHolder _cvalue, int _cvaluesize, IntHolder _controlsize)
void
getUB(double[] _dbdu, int first, int last)
int
getUnbVec()
void
getUnbVec(IntHolder icol)
void
global()
Deprecated.you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/globalvoid
goal(java.lang.String _filename)
void
goal(java.lang.String _filename, java.lang.String _sflags)
void
iISAll()
Deprecated.use IISAll insteadvoid
IISAll()
void
iISIsolations(int number)
Deprecated.use IISIsolations insteadvoid
IISIsolations(int number)
void
iISStatus(IntHolder iiscount, int[] rowsizes, int[] colsizes, double[] suminfeas, int[] numinfeas)
Deprecated.use IISStatus insteadvoid
IISStatus(IntHolder iiscount, int[] rowsizes, int[] colsizes, double[] suminfeas, int[] numinfeas)
void
initGlobal()
void
interrupt()
void
interrupt(int type)
Deprecated.void
interrupt(XPRSenumerations.StopType reason)
void
loadBasis(int[] _mrowstatus, int[] _mcolstatus)
void
loadBranchDirs(int ndirs, int[] _mcols, int[] _mbranch)
void
loadCuts(int itype, int interp)
void
loadCuts(int itype, int interp, int ncuts, long[] mcutind)
Deprecated.void
loadCuts(int itype, int interp, int ncuts, XPRScut[] mcutind)
void
loadCuts(int ncuts, XPRScut[] mcutind)
void
loadDelayedRows(int nrows, int[] _mrows)
void
loadDirs(int ndirs, int[] _mcols, int[] _mpri, byte[] _sbr, double[] dupc, double[] ddpc)
void
loadGlobal(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, int ngents, int nsets, byte[] _qgtype, int[] _mgcols, double[] _dlim, byte[] _stype, int[] _msstart, int[] _mscols, double[] _dref)
void
loadGlobal(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, int ngents, int nsets, byte[] _qgtype, int[] _mgcols, double[] _dlim, byte[] _stype, long[] _msstart, int[] _mscols, double[] _dref)
void
loadLp(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub)
void
loadLp(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub)
void
loadLPSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj, IntHolder status)
int
loadMipSol(double[] dsol)
void
loadMipSol(double[] dsol, IntHolder status)
void
loadModelCuts(int nmodcuts, int[] _mrows)
void
loadPresolveBasis(int[] _mrowstatus, int[] _mcolstatus)
void
loadPresolveDirs(int ndirs, int[] _mcols, int[] _mpri, byte[] _sbr, double[] dupc, double[] ddpc)
void
loadQCQP(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, int nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval, int qmn, int[] qcrows, int[] qcnquads, int[] qcmqcol1, int[] qcmqcol2, double[] qcdqval)
void
loadQCQP(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, long nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval, int qmn, int[] qcrows, long[] qcnquads, int[] qcmqcol1, int[] qcmqcol2, double[] qcdqval)
void
loadQCQPGlobal(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _matbeg, int[] _matcnt, int[] _matrow, double[] _dmatval, double[] _dlb, double[] _dub, int nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval, int qmn, int[] qcrows, int[] qcnquads, int[] qcmqcol1, int[] qcmqcol2, double[] qcdqval, int ngents, int nsets, byte[] qgtype, int[] mgcols, double[] dlim, byte[] qstype, int[] msstart, int[] mscols, double[] dref)
void
loadQCQPGlobal(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _matbeg, int[] _matcnt, int[] _matrow, double[] _dmatval, double[] _dlb, double[] _dub, long nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval, int qmn, int[] qcrows, long[] qcnquads, int[] qcmqcol1, int[] qcmqcol2, double[] qcdqval, int ngents, int nsets, byte[] qgtype, int[] mgcols, double[] dlim, byte[] qstype, long[] msstart, int[] mscols, double[] dref)
void
loadQGlobal(java.lang.String probname, int ncols, int nrows, byte[] qsenx, double[] rhsx, double[] range, double[] objx, int[] matbeg, int[] matcnt, int[] matind, double[] dmtval, double[] bndl, double[] bndu, int nquads, int[] mqcol1, int[] mqcol2, double[] dqval, int ngents, int nsets, byte[] qgtype, int[] mgcols, double[] dlim, byte[] qstype, int[] msstart, int[] mscols, double[] dref)
void
loadQGlobal(java.lang.String probname, int ncols, int nrows, byte[] qsenx, double[] rhsx, double[] range, double[] objx, long[] matbeg, int[] matcnt, int[] matind, double[] dmtval, double[] bndl, double[] bndu, long nquads, int[] mqcol1, int[] mqcol2, double[] dqval, int ngents, int nsets, byte[] qgtype, int[] mgcols, double[] dlim, byte[] qstype, long[] msstart, int[] mscols, double[] dref)
void
loadQP(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, int nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval)
void
loadQP(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, long nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval)
void
loadSecureVecs(int nrows, int ncols, int[] mrow, int[] mcol)
void
lpOptimize()
void
lpOptimize(java.lang.String _sflags)
void
maxim()
Deprecated.you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/globalvoid
maxim(java.lang.String _sflags)
Deprecated.you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/globalvoid
minim()
Deprecated.you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/globalvoid
minim(java.lang.String _sflags)
Deprecated.you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/globalvoid
mipOptimize()
void
mipOptimize(java.lang.String _sflags)
int
nextIIS()
void
nextIIS(IntHolder status_code)
void
objSA(int ncols, int[] mindex, double[] lower, double[] upper)
void
pivot(int _in, int _out)
void
postSolve()
void
presolveRow(char qrtype, int nzo, int[] mcolso, double[] dvalo, double drhso, int maxcoeffs, IntHolder nzp, int[] mcolsp, double[] dvalp, DoubleHolder drhsp, IntHolder status)
void
range()
void
readBasis()
void
readBasis(java.lang.String _sfilename)
void
readBasis(java.lang.String _sfilename, java.lang.String _sflags)
void
readBinSol()
void
readBinSol(java.lang.String _sfilename)
void
readBinSol(java.lang.String _sfilename, java.lang.String _sflags)
void
readDirs()
void
readDirs(java.lang.String _sfilename)
void
readProb(java.lang.String _sprobname)
void
readProb(java.lang.String _sprobname, java.lang.String _sflags)
void
readSlxSol()
void
readSlxSol(java.lang.String _sfilename)
void
readSlxSol(java.lang.String _sfilename, java.lang.String _sflags)
void
refineMipSol(int options, java.lang.String _sflags, double[] solution, double[] refined_solution, IntHolder refinestatus)
void
removeBarIterationListener()
Removes all BarIteration listeners from the object.void
removeBarIterationListener(XPRSbarIterationListener listener)
Removes the given BarIteration listener from the object.void
removeBarIterationListener(XPRSbarIterationListener listener, java.lang.Object data)
Removes the given BarIteration listener with the given data value from the object.void
removeBarIterationListeners()
Remove all listeners for the BarIteration callbackvoid
removeBarLogListener()
Removes all BarLog listeners from the object.void
removeBarLogListener(XPRSbarLogListener listener)
Removes the given BarLog listener from the object.void
removeBarLogListener(XPRSbarLogListener listener, java.lang.Object data)
Removes the given BarLog listener with the given data value from the object.void
removeBarLogListeners()
Remove all listeners for the BarLog callbackvoid
removeBeforeSolveListener()
Removes all BeforeSolve listeners from the object.void
removeBeforeSolveListener(XPRSbeforeSolveListener listener)
Removes the given BeforeSolve listener from the object.void
removeBeforeSolveListener(XPRSbeforeSolveListener listener, java.lang.Object data)
Removes the given BeforeSolve listener with the given data value from the object.void
removeBeforeSolveListeners()
Remove all listeners for the BeforeSolve callbackvoid
removeChangeBranchObjectListener()
Removes all ChangeBranchObject listeners from the object.void
removeChangeBranchObjectListener(XPRSchangeBranchObjectListener listener)
Removes the given ChangeBranchObject listener from the object.void
removeChangeBranchObjectListener(XPRSchangeBranchObjectListener listener, java.lang.Object data)
Removes the given ChangeBranchObject listener with the given data value from the object.void
removeChangeBranchObjectListeners()
Remove all listeners for the ChangeBranchObject callbackvoid
removeCheckTimeListener()
Removes all CheckTime listeners from the object.void
removeCheckTimeListener(XPRScheckTimeListener listener)
Removes the given CheckTime listener from the object.void
removeCheckTimeListener(XPRScheckTimeListener listener, java.lang.Object data)
Removes the given CheckTime listener with the given data value from the object.void
removeCheckTimeListeners()
Remove all listeners for the CheckTime callbackvoid
removeChgBranchListener()
Removes all ChgBranch listeners from the object.void
removeChgBranchListener(XPRSchgBranchListener listener)
Removes the given ChgBranch listener from the object.void
removeChgBranchListener(XPRSchgBranchListener listener, java.lang.Object data)
Removes the given ChgBranch listener with the given data value from the object.void
removeChgBranchListeners()
Remove all listeners for the ChgBranch callbackvoid
removeChgNodeListener()
Removes all ChgNode listeners from the object.void
removeChgNodeListener(XPRSchgNodeListener listener)
Removes the given ChgNode listener from the object.void
removeChgNodeListener(XPRSchgNodeListener listener, java.lang.Object data)
Removes the given ChgNode listener with the given data value from the object.void
removeChgNodeListeners()
Remove all listeners for the ChgNode callbackvoid
removeCutLogListener()
Removes all CutLog listeners from the object.void
removeCutLogListener(XPRScutLogListener listener)
Removes the given CutLog listener from the object.void
removeCutLogListener(XPRScutLogListener listener, java.lang.Object data)
Removes the given CutLog listener with the given data value from the object.void
removeCutLogListeners()
Remove all listeners for the CutLog callbackvoid
removeCutMgrListener()
Removes all CutMgr listeners from the object.void
removeCutMgrListener(XPRScutMgrListener listener)
Removes the given CutMgr listener from the object.void
removeCutMgrListener(XPRScutMgrListener listener, java.lang.Object data)
Removes the given CutMgr listener with the given data value from the object.void
removeCutMgrListeners()
Remove all listeners for the CutMgr callbackvoid
removeDestroyMTListener()
Removes all DestroyMT listeners from the object.void
removeDestroyMTListener(XPRSdestroyMTListener listener)
Removes the given DestroyMT listener from the object.void
removeDestroyMTListener(XPRSdestroyMTListener listener, java.lang.Object data)
Removes the given DestroyMT listener with the given data value from the object.void
removeDestroyMTListeners()
Remove all listeners for the DestroyMT callbackvoid
removeEstimateListener()
Removes all Estimate listeners from the object.void
removeEstimateListener(XPRSestimateListener listener)
Removes the given Estimate listener from the object.void
removeEstimateListener(XPRSestimateListener listener, java.lang.Object data)
Removes the given Estimate listener with the given data value from the object.void
removeEstimateListeners()
Remove all listeners for the Estimate callbackvoid
removeGapNotifyListener()
Removes all GapNotify listeners from the object.void
removeGapNotifyListener(XPRSgapNotifyListener listener)
Removes the given GapNotify listener from the object.void
removeGapNotifyListener(XPRSgapNotifyListener listener, java.lang.Object data)
Removes the given GapNotify listener with the given data value from the object.void
removeGapNotifyListeners()
Remove all listeners for the GapNotify callbackvoid
removeGlobalLogListener()
Removes all GlobalLog listeners from the object.void
removeGlobalLogListener(XPRSglobalLogListener listener)
Removes the given GlobalLog listener from the object.void
removeGlobalLogListener(XPRSglobalLogListener listener, java.lang.Object data)
Removes the given GlobalLog listener with the given data value from the object.void
removeGlobalLogListeners()
Remove all listeners for the GlobalLog callbackvoid
removeInfNodeListener()
Removes all InfNode listeners from the object.void
removeInfNodeListener(XPRSinfNodeListener listener)
Removes the given InfNode listener from the object.void
removeInfNodeListener(XPRSinfNodeListener listener, java.lang.Object data)
Removes the given InfNode listener with the given data value from the object.void
removeInfNodeListeners()
Remove all listeners for the InfNode callbackvoid
removeIntSolListener()
Removes all IntSol listeners from the object.void
removeIntSolListener(XPRSintSolListener listener)
Removes the given IntSol listener from the object.void
removeIntSolListener(XPRSintSolListener listener, java.lang.Object data)
Removes the given IntSol listener with the given data value from the object.void
removeIntSolListeners()
Remove all listeners for the IntSol callbackvoid
removeLpLogListener()
Removes all LpLog listeners from the object.void
removeLpLogListener(XPRSlpLogListener listener)
Removes the given LpLog listener from the object.void
removeLpLogListener(XPRSlpLogListener listener, java.lang.Object data)
Removes the given LpLog listener with the given data value from the object.void
removeLpLogListeners()
Remove all listeners for the LpLog callbackvoid
removeMessageListener()
Removes all Message listeners from the object.void
removeMessageListener(XPRSmessageListener listener)
Removes the given Message listener from the object.void
removeMessageListener(XPRSmessageListener listener, java.lang.Object data)
Removes the given Message listener with the given data value from the object.void
removeMessageListeners()
Remove all listeners for the Message callbackvoid
removeMipThreadListener()
Removes all MipThread listeners from the object.void
removeMipThreadListener(XPRSmipThreadListener listener)
Removes the given MipThread listener from the object.void
removeMipThreadListener(XPRSmipThreadListener listener, java.lang.Object data)
Removes the given MipThread listener with the given data value from the object.void
removeMipThreadListeners()
Remove all listeners for the MipThread callbackvoid
removeMsgHandlerListener()
Removes all MsgHandler listeners from the object.void
removeMsgHandlerListener(XPRSmsgHandlerListener listener)
Removes the given MsgHandler listener from the object.void
removeMsgHandlerListener(XPRSmsgHandlerListener listener, java.lang.Object data)
Removes the given MsgHandler listener with the given data value from the object.void
removeMsgHandlerListeners()
Remove all listeners for the MsgHandler callbackvoid
removeNewnodeListener()
Removes all Newnode listeners from the object.void
removeNewnodeListener(XPRSnewnodeListener listener)
Removes the given Newnode listener from the object.void
removeNewnodeListener(XPRSnewnodeListener listener, java.lang.Object data)
Removes the given Newnode listener with the given data value from the object.void
removeNewnodeListeners()
Remove all listeners for the Newnode callbackvoid
removeNodeCutoffListener()
Removes all NodeCutoff listeners from the object.void
removeNodeCutoffListener(XPRSnodeCutoffListener listener)
Removes the given NodeCutoff listener from the object.void
removeNodeCutoffListener(XPRSnodeCutoffListener listener, java.lang.Object data)
Removes the given NodeCutoff listener with the given data value from the object.void
removeNodeCutoffListeners()
Remove all listeners for the NodeCutoff callbackvoid
removeOptNodeListener()
Removes all OptNode listeners from the object.void
removeOptNodeListener(XPRSoptNodeListener listener)
Removes the given OptNode listener from the object.void
removeOptNodeListener(XPRSoptNodeListener listener, java.lang.Object data)
Removes the given OptNode listener with the given data value from the object.void
removeOptNodeListeners()
Remove all listeners for the OptNode callbackvoid
removePreIntsolListener()
Removes all PreIntsol listeners from the object.void
removePreIntsolListener(XPRSpreIntsolListener listener)
Removes the given PreIntsol listener from the object.void
removePreIntsolListener(XPRSpreIntsolListener listener, java.lang.Object data)
Removes the given PreIntsol listener with the given data value from the object.void
removePreIntsolListeners()
Remove all listeners for the PreIntsol callbackvoid
removePreNodeListener()
Removes all PreNode listeners from the object.void
removePreNodeListener(XPRSpreNodeListener listener)
Removes the given PreNode listener from the object.void
removePreNodeListener(XPRSpreNodeListener listener, java.lang.Object data)
Removes the given PreNode listener with the given data value from the object.void
removePreNodeListeners()
Remove all listeners for the PreNode callbackvoid
removePresolveListener()
Removes all Presolve listeners from the object.void
removePresolveListener(XPRSpresolveListener listener)
Removes the given Presolve listener from the object.void
removePresolveListener(XPRSpresolveListener listener, java.lang.Object data)
Removes the given Presolve listener with the given data value from the object.void
removePresolveListeners()
Remove all listeners for the Presolve callbackvoid
removeSepNodeListener()
Removes all SepNode listeners from the object.void
removeSepNodeListener(XPRSsepNodeListener listener)
Removes the given SepNode listener from the object.void
removeSepNodeListener(XPRSsepNodeListener listener, java.lang.Object data)
Removes the given SepNode listener with the given data value from the object.void
removeSepNodeListeners()
Remove all listeners for the SepNode callbackvoid
removeUserSolNotifyListener()
Removes all UserSolNotify listeners from the object.void
removeUserSolNotifyListener(XPRSuserSolNotifyListener listener)
Removes the given UserSolNotify listener from the object.void
removeUserSolNotifyListener(XPRSuserSolNotifyListener listener, java.lang.Object data)
Removes the given UserSolNotify listener with the given data value from the object.void
removeUserSolNotifyListeners()
Remove all listeners for the UserSolNotify callbackvoid
repairInfeas(IntHolder scode, char ptype, char phase2, char globalflags, double lrp, double grp, double lbp, double ubp, double delta)
void
repairWeightedInfeas(IntHolder scode, double[] lrp_array, double[] grp_array, double[] lbp_array, double[] ubp_array, char second_phase, double delta, java.lang.String optflags)
void
repairWeightedInfeasBounds(IntHolder scode, double[] lrp_array, double[] grp_array, double[] lbp_array, double[] ubp_array, double[] lrb_array, double[] grb_array, double[] lbb_array, double[] ubb_array, char second_phase, double delta, java.lang.String optflags)
void
restore()
void
restore(java.lang.String _sprobname)
void
restore(java.lang.String _sprobname, java.lang.String _force)
void
rhsSA(int nrows, int[] mindex, double[] lower, double[] upper)
void
save()
void
saveAs(java.lang.String _filename)
void
scale(int[] mrscal, int[] mcscal)
void
setBranchBounds(XPRSbounds mindex)
void
setBranchCuts(int nbcuts, int[] mindex)
Deprecated.void
setBranchCuts(int nbcuts, long[] mindex)
Deprecated.void
setBranchCuts(int nbcuts, XPRScut[] mindex)
void
setDblControl(int _index, double _dvalue)
void
setDefaultControl(int _index)
void
setDefaults()
void
setIndicators(int nrows, int[] _mrows, int[] _inds, int[] _comps)
void
setIntControl(int _index, int _ivalue)
void
setLogFile(java.lang.String logname)
void
setLongControl(int _index, long _ivalue)
void
setMessageStatus(int errcode, int bEnabledStatus)
void
setProbname(java.lang.String _svalue)
void
setStrControl(int _index, java.lang.String _svalue)
void
sparseBTran(double[] dval, int[] mind, IntHolder nzcnt)
void
sparseFTran(double[] dval, int[] mind, IntHolder nzcnt)
XPRSbounds
storeBounds(int nbnds, int[] mcols, byte[] qbtype, double[] dbnd)
void
storeBounds(int nbnds, int[] mcols, byte[] qbtype, double[] dbnd, XPRSbounds mindex)
void
storeCuts(int ncuts, int nodupl, int[] mtype, byte[] qrtype, double[] drhs, int[] mstart, long[] mindex, int[] mcols, double[] dmatval)
Deprecated.void
storeCuts(int ncuts, int nodupl, int[] mtype, byte[] qrtype, double[] drhs, int[] mstart, XPRScut[] mindex, int[] mcols, double[] dmatval)
void
storeCuts(int ncuts, int nodupl, int[] mtype, byte[] qrtype, double[] drhs, long[] mstart, XPRScut[] mindex, int[] mcols, double[] dmatval)
void
strongBranch(int nbnds, int[] _mindex, byte[] _sboundtype, double[] _dbnd, int itrlimit, double[] _dsbobjval, int[] _msbstatus)
void
strongBranchCB(int nbnds, int[] _mindex, byte[] _sboundtype, double[] _dbnd, int itrlimit, double[] _dsbobjval, int[] _msbstatus, XPRSstrongBranchSolveListener sbsolvecb, java.lang.Object vContext)
void
tune(java.lang.String _sflags)
void
tunerReadMethod(java.lang.String methodfile)
void
tunerWriteMethod(java.lang.String methodfile)
void
writeBasis()
void
writeBasis(java.lang.String _sfilename)
void
writeBasis(java.lang.String _sfilename, java.lang.String _sflags)
void
writeBinSol()
void
writeBinSol(java.lang.String _sfilename)
void
writeBinSol(java.lang.String _sfilename, java.lang.String _sflags)
void
writeDirs()
void
writeDirs(java.lang.String _sfilename)
void
writeIIS(int number, java.lang.String fn, int filetype)
void
writeIIS(int number, java.lang.String fn, int filetype, java.lang.String typeflags)
void
writeProb()
void
writeProb(java.lang.String _sfilename)
void
writeProb(java.lang.String _sfilename, java.lang.String _sflags)
void
writePrtRange()
void
writePrtSol()
void
writePrtSol(java.lang.String _sfilename)
void
writePrtSol(java.lang.String _sfilename, java.lang.String _sflags)
void
writeRange()
void
writeRange(java.lang.String _sfilename)
void
writeRange(java.lang.String _sfilename, java.lang.String _sflags)
void
writeSlxSol()
void
writeSlxSol(java.lang.String _sfilename)
void
writeSlxSol(java.lang.String _sfilename, java.lang.String _sflags)
void
writeSol()
void
writeSol(java.lang.String _sfilename)
void
writeSol(java.lang.String _sfilename, java.lang.String _sflags)
-
Methods inherited from class com.dashoptimization.XPRSobject
addMsgHandlerListener, addMsgHandlerListener, isDestroyed
-
-
-
-
Constructor Detail
-
XPRSprob
public XPRSprob() throws XPRSprobException
Creates a new, empty problem. XPRS.Init must have been called first.- Throws:
-
XPRSprobException
-
-
Method Detail
-
destroy
public void destroy() throws XPRSprobException
Destroy the problem, deallocating all memory used. XPRSprob objects will now be garbage collected by Java and need not be destroyed explicitly, although you may still wish to do so if the problems are large and you want the memory freed immediately.- Specified by:
-
destroy
in classXPRSobject
- Throws:
-
XPRSprobException
-
setBranchCuts
public void setBranchCuts(int nbcuts, long[] mindex) throws XPRSprobException
Deprecated. replaced bysetBranchCuts(int,com.dashoptimization.XPRScut[])
- Throws:
-
XPRSprobException
-
setBranchCuts
public void setBranchCuts(int nbcuts, int[] mindex) throws XPRSprobException
Deprecated. replaced bysetBranchCuts(int,com.dashoptimization.XPRScut[])
Included for binary compatibility with 2007A - note does not work on 64-bit!- Throws:
-
XPRSprobException
-
delCPCuts
public void delCPCuts(int itype, int interp, int ncuts, long[] mcutind) throws XPRSprobException
Deprecated. replaced bydelCPCuts(int,int,int,com.dashoptimization.XPRScut[])
- Throws:
-
XPRSprobException
-
delCuts
public void delCuts(int ibasis, int itype, int interp, double delta, int ncuts, long[] mcutind) throws XPRSprobException
Deprecated. replaced bydelCuts(int,int,int,double,int,com.dashoptimization.XPRScut[])
- Throws:
-
XPRSprobException
-
getCPCutList
public void getCPCutList(int itype, int interp, double delta, IntHolder ncuts, int maxcuts, long[] mcutind, double[] dviol) throws XPRSprobException
Deprecated. replaced bygetCPCutList(int,int,double,com.dashoptimization.IntHolder,int,com.dashoptimization.XPRScut[],double[])
- Throws:
-
XPRSprobException
-
getCPCuts
public void getCPCuts(long[] mindex, int ncuts, int size, int[] mtype, byte[] qrtype, int[] mstart, int[] mcols, double[] dmatval, double[] drhs) throws XPRSprobException
Deprecated. replaced bygetCPCuts(com.dashoptimization.XPRScut[],int,int,int[],byte[],int[],int[],double[],double[])
- Throws:
-
XPRSprobException
-
getCutList
public void getCutList(int itype, int interp, IntHolder ncuts, int maxcuts, long[] mcutind) throws XPRSprobException
Deprecated. replaced bygetCutList(int,int,com.dashoptimization.IntHolder,int,com.dashoptimization.XPRScut[])
- Throws:
-
XPRSprobException
-
loadCuts
public void loadCuts(int itype, int interp, int ncuts, long[] mcutind) throws XPRSprobException
Deprecated. replaced byloadCuts(int,int,int,com.dashoptimization.XPRScut[])
- Throws:
-
XPRSprobException
-
storeCuts
public void storeCuts(int ncuts, int nodupl, int[] mtype, byte[] qrtype, double[] drhs, int[] mstart, long[] mindex, int[] mcols, double[] dmatval) throws XPRSprobException
Deprecated. replaced bystoreCuts(int,int,int[],byte[],double[],int[],com.dashoptimization.XPRScut[],int[],double[])
- Throws:
-
XPRSprobException
-
interrupt
public void interrupt(int type)
Deprecated. replaced byinterrupt(com.dashoptimization.XPRSenumerations.StopType)
-
iISStatus
public void iISStatus(IntHolder iiscount, int[] rowsizes, int[] colsizes, double[] suminfeas, int[] numinfeas) throws XPRSprobException
Deprecated. use IISStatus instead- Throws:
-
XPRSprobException
-
iISAll
public void iISAll() throws XPRSprobException
Deprecated. use IISAll instead- Throws:
-
XPRSprobException
-
iISIsolations
public void iISIsolations(int number) throws XPRSprobException
Deprecated. use IISIsolations instead- Throws:
-
XPRSprobException
-
getNames
public void getNames(int _itype, java.lang.String[] _sbuff, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getNames
public java.lang.String[] getNames(int _itype, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getNameListObject
public XPRSnamelist getNameListObject(int _itype) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getStrControl
public void getStrControl(int _index, StringHolder _svalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getStrAttrib
public void getStrAttrib(int _index, StringHolder _cvalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getStrControl
public java.lang.String getStrControl(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getStrAttrib
public java.lang.String getStrAttrib(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addNames
public void addNames(int _itype, java.lang.String[] _sname, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addSetNames
public void addSetNames(java.lang.String[] _sname, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgMCoef
public void chgMCoef(int[] _mrow, int[] _mcol, double[] _dval, int ncoeffs) throws XPRSprobException
Deprecated.Version of chgMCoef function with parameters in a different order, to maintain compatibility with pre-2008A API- Throws:
-
XPRSprobException
-
chgMQObj
public void chgMQObj(int[] _mcol1, int[] _mcol2, double[] _dval, int ncols) throws XPRSprobException
Deprecated.Version of chgMQObj function with parameters in a different order, to maintain compatibility with pre-2008A API.- Throws:
-
XPRSprobException
-
chgObjSense
public void chgObjSense(int objsense) throws XPRSprobException
Deprecated. use chgObjSense(com.dashoptimization.XPRSenumerations.ObjSense) insteadRetained to maintain compatibility with Xpress 7.0.- Throws:
-
XPRSprobException
-
createBranchObject
public XPRSbranchobject createBranchObject(boolean isOriginal) throws XPRSprobException
Creates a new XPRSbranchobject- Throws:
-
XPRSprobException
-
createBranchObjectFromGlobal
public XPRSbranchobject createBranchObjectFromGlobal(int icol) throws XPRSprobException
Creates a new XPRSbranchobject- Throws:
-
XPRSprobException
-
copyProb
public void copyProb(XPRSprob src) throws XPRSprobException
Copy another problem over this one- Throws:
-
XPRSprobException
-
copyCallBacks
public void copyCallBacks(XPRSprob src) throws XPRSprobException
- Throws:
-
XPRSprobException
-
copyControls
public void copyControls(XPRSprob src) throws XPRSprobException
- Throws:
-
XPRSprobException
-
destroyProb
public void destroyProb() throws XPRSprobException
- Throws:
-
XPRSprobException
-
setLogFile
public void setLogFile(java.lang.String logname) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setIntControl
public void setIntControl(int _index, int _ivalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setLongControl
public void setLongControl(int _index, long _ivalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setDblControl
public void setDblControl(int _index, double _dvalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
interrupt
public void interrupt(XPRSenumerations.StopType reason) throws XPRSprobException
- Throws:
-
XPRSprobException
-
interrupt
public void interrupt() throws XPRSprobException
- Throws:
-
XPRSprobException
-
getProbName
public void getProbName(StringHolder _svalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getProbName
public java.lang.String getProbName() throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQObj
public void getQObj(int _icol, int _jcol, DoubleHolder _dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQObj
public double getQObj(int _icol, int _jcol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setProbname
public void setProbname(java.lang.String _svalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setStrControl
public void setStrControl(int _index, java.lang.String _svalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getIntControl
public void getIntControl(int _index, IntHolder _ivalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getIntControl
public int getIntControl(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLongControl
public void getLongControl(int _index, LongHolder _ivalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLongControl
public long getLongControl(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getDblControl
public void getDblControl(int _index, DoubleHolder _dvalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getDblControl
public double getDblControl(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getStringControl
public void getStringControl(int _index, StringHolder _svalue, int _svaluesize, IntHolder _controlsize) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getIntAttrib
public void getIntAttrib(int _index, IntHolder _ivalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getIntAttrib
public int getIntAttrib(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLongAttrib
public void getLongAttrib(int _index, LongHolder _ivalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLongAttrib
public long getLongAttrib(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getStrStringAttrib
public void getStrStringAttrib(int _index, StringHolder _cvalue, int _cvaluesize, IntHolder _controlsize) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getDblAttrib
public void getDblAttrib(int _index, DoubleHolder _dvalue) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getDblAttrib
public double getDblAttrib(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setDefaultControl
public void setDefaultControl(int _index) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setDefaults
public void setDefaults() throws XPRSprobException
- Throws:
-
XPRSprobException
-
goal
public void goal(java.lang.String _filename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
goal
public void goal(java.lang.String _filename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readProb
public void readProb(java.lang.String _sprobname, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readProb
public void readProb(java.lang.String _sprobname) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadLp
public void loadLp(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadLp
public void loadLp(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadQP
public void loadQP(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, int nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadQP
public void loadQP(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, long nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadQGlobal
public void loadQGlobal(java.lang.String probname, int ncols, int nrows, byte[] qsenx, double[] rhsx, double[] range, double[] objx, int[] matbeg, int[] matcnt, int[] matind, double[] dmtval, double[] bndl, double[] bndu, int nquads, int[] mqcol1, int[] mqcol2, double[] dqval, int ngents, int nsets, byte[] qgtype, int[] mgcols, double[] dlim, byte[] qstype, int[] msstart, int[] mscols, double[] dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadQGlobal
public void loadQGlobal(java.lang.String probname, int ncols, int nrows, byte[] qsenx, double[] rhsx, double[] range, double[] objx, long[] matbeg, int[] matcnt, int[] matind, double[] dmtval, double[] bndl, double[] bndu, long nquads, int[] mqcol1, int[] mqcol2, double[] dqval, int ngents, int nsets, byte[] qgtype, int[] mgcols, double[] dlim, byte[] qstype, long[] msstart, int[] mscols, double[] dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
fixGlobals
public void fixGlobals(int options) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadModelCuts
public void loadModelCuts(int nmodcuts, int[] _mrows) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadDelayedRows
public void loadDelayedRows(int nrows, int[] _mrows) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadDirs
public void loadDirs(int ndirs, int[] _mcols, int[] _mpri, byte[] _sbr, double[] dupc, double[] ddpc) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadBranchDirs
public void loadBranchDirs(int ndirs, int[] _mcols, int[] _mbranch) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadPresolveDirs
public void loadPresolveDirs(int ndirs, int[] _mcols, int[] _mpri, byte[] _sbr, double[] dupc, double[] ddpc) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getDirs
public void getDirs(IntHolder ndirs, int[] _mcols, int[] _mpri, byte[] _sbr, double[] dupc, double[] ddpc) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getDirs
public int getDirs(int[] _mcols, int[] _mpri, byte[] _sbr, double[] dupc, double[] ddpc) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getDirs
public int getDirs() throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadGlobal
public void loadGlobal(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, int ngents, int nsets, byte[] _qgtype, int[] _mgcols, double[] _dlim, byte[] _stype, int[] _msstart, int[] _mscols, double[] _dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadGlobal
public void loadGlobal(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, int ngents, int nsets, byte[] _qgtype, int[] _mgcols, double[] _dlim, byte[] _stype, long[] _msstart, int[] _mscols, double[] _dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
scale
public void scale(int[] mrscal, int[] mcscal) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readDirs
public void readDirs(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readDirs
public void readDirs() throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeDirs
public void writeDirs(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeDirs
public void writeDirs() throws XPRSprobException
- Throws:
-
XPRSprobException
-
minim
public void minim(java.lang.String _sflags) throws XPRSprobException
Deprecated. you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/global- Throws:
-
XPRSprobException
-
minim
public void minim() throws XPRSprobException
Deprecated. you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/global- Throws:
-
XPRSprobException
-
maxim
public void maxim(java.lang.String _sflags) throws XPRSprobException
Deprecated. you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/global- Throws:
-
XPRSprobException
-
maxim
public void maxim() throws XPRSprobException
Deprecated. you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/global- Throws:
-
XPRSprobException
-
lpOptimize
public void lpOptimize(java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
lpOptimize
public void lpOptimize() throws XPRSprobException
- Throws:
-
XPRSprobException
-
mipOptimize
public void mipOptimize(java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
mipOptimize
public void mipOptimize() throws XPRSprobException
- Throws:
-
XPRSprobException
-
range
public void range() throws XPRSprobException
- Throws:
-
XPRSprobException
-
getRowRange
public void getRowRange(double[] _upact, double[] _loact, double[] _uup, double[] _udn) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getColRange
public void getColRange(double[] _upact, double[] _loact, double[] _uup, double[] _udn, double[] _ucost, double[] _lcost) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPivotOrder
public void getPivotOrder(int[] mpiv) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPresolveMap
public void getPresolveMap(int[] rowmap, int[] colmap) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readBasis
public void readBasis(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readBasis
public void readBasis(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readBasis
public void readBasis() throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeBasis
public void writeBasis(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeBasis
public void writeBasis(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeBasis
public void writeBasis() throws XPRSprobException
- Throws:
-
XPRSprobException
-
global
public void global() throws XPRSprobException
Deprecated. you should uselpOptimize(java.lang.String)
ormipOptimize(java.lang.String)
instead of minim/maxim/global- Throws:
-
XPRSprobException
-
initGlobal
public void initGlobal() throws XPRSprobException
- Throws:
-
XPRSprobException
-
writePrtSol
public void writePrtSol(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writePrtSol
public void writePrtSol(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writePrtSol
public void writePrtSol() throws XPRSprobException
- Throws:
-
XPRSprobException
-
alter
public void alter(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
clearIIS
public void clearIIS() throws XPRSprobException
- Throws:
-
XPRSprobException
-
firstIIS
public void firstIIS(int iismode, IntHolder status_code) throws XPRSprobException
- Throws:
-
XPRSprobException
-
firstIIS
public int firstIIS(int iismode) throws XPRSprobException
- Throws:
-
XPRSprobException
-
nextIIS
public void nextIIS(IntHolder status_code) throws XPRSprobException
- Throws:
-
XPRSprobException
-
nextIIS
public int nextIIS() throws XPRSprobException
- Throws:
-
XPRSprobException
-
IISStatus
public void IISStatus(IntHolder iiscount, int[] rowsizes, int[] colsizes, double[] suminfeas, int[] numinfeas) throws XPRSprobException
- Throws:
-
XPRSprobException
-
IISAll
public void IISAll() throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeIIS
public void writeIIS(int number, java.lang.String fn, int filetype, java.lang.String typeflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeIIS
public void writeIIS(int number, java.lang.String fn, int filetype) throws XPRSprobException
- Throws:
-
XPRSprobException
-
IISIsolations
public void IISIsolations(int number) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getIISData
public void getIISData(int number, IntHolder rownumber, IntHolder colnumber, int[] miisrow, int[] miiscol, byte[] constrainttype, byte[] colbndtype, double[] duals, double[] rdcs, byte[] isolationrows, byte[] isolationcols) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeSol
public void writeSol(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeSol
public void writeSol(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeSol
public void writeSol() throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeBinSol
public void writeBinSol(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeBinSol
public void writeBinSol(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeBinSol
public void writeBinSol() throws XPRSprobException
- Throws:
-
XPRSprobException
-
readBinSol
public void readBinSol(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readBinSol
public void readBinSol(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readBinSol
public void readBinSol() throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeSlxSol
public void writeSlxSol(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeSlxSol
public void writeSlxSol(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeSlxSol
public void writeSlxSol() throws XPRSprobException
- Throws:
-
XPRSprobException
-
readSlxSol
public void readSlxSol(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readSlxSol
public void readSlxSol(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
readSlxSol
public void readSlxSol() throws XPRSprobException
- Throws:
-
XPRSprobException
-
writePrtRange
public void writePrtRange() throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeRange
public void writeRange(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeRange
public void writeRange(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeRange
public void writeRange() throws XPRSprobException
- Throws:
-
XPRSprobException
-
getSol
public void getSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getSol
public void getSol(double[] _dx) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPresolveSol
public void getPresolveSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPresolveSol
public void getPresolveSol(double[] _dx) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getInfeas
public void getInfeas(IntHolder npv, IntHolder nps, IntHolder nds, IntHolder ndv, int[] mx, int[] mslack, int[] mdual, int[] mdj) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getScaledInfeas
public void getScaledInfeas(IntHolder npv, IntHolder nps, IntHolder nds, IntHolder ndv, int[] mx, int[] mslack, int[] mdual, int[] mdj) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getUnbVec
public void getUnbVec(IntHolder icol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getUnbVec
public int getUnbVec() throws XPRSprobException
- Throws:
-
XPRSprobException
-
btran
public void btran(double[] dwork) throws XPRSprobException
- Throws:
-
XPRSprobException
-
ftran
public void ftran(double[] dwork) throws XPRSprobException
- Throws:
-
XPRSprobException
-
sparseBTran
public void sparseBTran(double[] dval, int[] mind, IntHolder nzcnt) throws XPRSprobException
- Throws:
-
XPRSprobException
-
sparseFTran
public void sparseFTran(double[] dval, int[] mind, IntHolder nzcnt) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getObj
public void getObj(double[] _dobj, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getRHS
public void getRHS(double[] _drhs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getRHSrange
public void getRHSrange(double[] _drng, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLB
public void getLB(double[] _dbdl, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getUB
public void getUB(double[] _dbdu, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCols
public void getCols(int[] _mstart, int[] _mrwind, double[] _dmatval, int maxcoeffs, IntHolder ncoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCols
public int getCols(int[] _mstart, int[] _mrwind, double[] _dmatval, int maxcoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCols
public void getCols(long[] _mstart, int[] _mrwind, double[] _dmatval, long maxcoeffs, LongHolder ncoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCols
public long getCols(long[] _mstart, int[] _mrwind, double[] _dmatval, long maxcoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getRows
public void getRows(int[] _mstart, int[] _mclind, double[] _dmatval, int maxcoeffs, IntHolder ncoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getRows
public int getRows(int[] _mstart, int[] _mclind, double[] _dmatval, int maxcoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getRows
public void getRows(long[] _mstart, int[] _mclind, double[] _dmatval, long maxcoeffs, LongHolder ncoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getRows
public long getRows(long[] _mstart, int[] _mclind, double[] _dmatval, long maxcoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCoef
public void getCoef(int _irow, int _icol, DoubleHolder _dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCoef
public double getCoef(int _irow, int _icol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMQObj
public void getMQObj(int[] _mstart, int[] _mclind, double[] _dobjval, int maxcoeffs, IntHolder ncoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMQObj
public int getMQObj(int[] _mstart, int[] _mclind, double[] _dobjval, int maxcoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMQObj
public void getMQObj(long[] _mstart, int[] _mclind, double[] _dobjval, long maxcoeffs, LongHolder ncoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMQObj
public long getMQObj(long[] _mstart, int[] _mclind, double[] _dobjval, long maxcoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getiis
public void getiis(IntHolder ncols, IntHolder nrows, int[] _miiscol, int[] _miisrow) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getiis
public void getiis(IntHolder ncols, IntHolder nrows) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPresolveBasis
public void getPresolveBasis(int[] _mrowstatus, int[] _mcolstatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadPresolveBasis
public void loadPresolveBasis(int[] _mrowstatus, int[] _mcolstatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getGlobal
public void getGlobal(IntHolder ngents, IntHolder nsets, byte[] _sgtype, int[] _mgcols, double[] _dlim, byte[] _sstype, int[] _msstart, int[] _mscols, double[] _dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getGlobal
public void getGlobal(IntHolder ngents, byte[] _sgtype, int[] _mgcols, double[] _dlim) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getGlobal
public int getGlobal(byte[] _sgtype, int[] _mgcols, double[] _dlim) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getGlobal
public void getGlobal(IntHolder ngents, IntHolder nsets, byte[] _sgtype, int[] _mgcols, double[] _dlim, byte[] _sstype, long[] _msstart, int[] _mscols, double[] _dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeProb
public void writeProb(java.lang.String _sfilename, java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeProb
public void writeProb(java.lang.String _sfilename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
writeProb
public void writeProb() throws XPRSprobException
- Throws:
-
XPRSprobException
-
getRowType
public void getRowType(byte[] _srowtype, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadSecureVecs
public void loadSecureVecs(int nrows, int ncols, int[] mrow, int[] mcol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getColType
public void getColType(byte[] _coltype, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getBasis
public void getBasis(int[] _mrowstatus, int[] _mcolstatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getBasisVal
public void getBasisVal(int row, int col, IntHolder _rowstatus, IntHolder _colstatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadBasis
public void loadBasis(int[] _mrowstatus, int[] _mcolstatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getIndex
public void getIndex(int _itype, java.lang.String _sname, IntHolder _iseq) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getIndex
public int getIndex(int _itype, java.lang.String _sname) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addRows
public void addRows(int nrows, int ncoeffs, byte[] _srowtype, double[] _drhs, double[] _drng, int[] _mstart, int[] _mclind, double[] _dmatval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addRows
public void addRows(int nrows, int ncoeffs, byte[] _srowtype, double[] _drhs, int[] _mstart, int[] _mclind, double[] _dmatval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addRows
public void addRows(int nrows, long ncoeffs, byte[] _srowtype, double[] _drhs, double[] _drng, long[] _mstart, int[] _mclind, double[] _dmatval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addRows
public void addRows(int nrows, long ncoeffs, byte[] _srowtype, double[] _drhs, long[] _mstart, int[] _mclind, double[] _dmatval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delRows
public void delRows(int nrows, int[] _mindex) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addCols
public void addCols(int ncols, int ncoeffs, double[] _dobj, int[] _mstart, int[] _mrwind, double[] _dmatval, double[] _dbdl, double[] _dbdu) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addCols
public void addCols(int ncols, long ncoeffs, double[] _dobj, long[] _mstart, int[] _mrwind, double[] _dmatval, double[] _dbdl, double[] _dbdu) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCols
public void delCols(int ncols, int[] _mindex) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgColType
public void chgColType(int ncols, int[] _mindex, byte[] _coltype) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgRowType
public void chgRowType(int nrows, int[] _mindex, byte[] _srowtype) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgBounds
public void chgBounds(int nbnds, int[] _mindex, byte[] _sboundtype, double[] _dbnd) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgObj
public void chgObj(int ncols, int[] _mindex, double[] _dobj) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgCoef
public void chgCoef(int _irow, int _icol, double _dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgMCoef
public void chgMCoef(int ncoeffs, int[] _mrow, int[] _mcol, double[] _dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgMCoef
public void chgMCoef(long ncoeffs, int[] _mrow, int[] _mcol, double[] _dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgMQObj
public void chgMQObj(int ncols, int[] _mcol1, int[] _mcol2, double[] _dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgMQObj
public void chgMQObj(long ncols, int[] _mcol1, int[] _mcol2, double[] _dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgQObj
public void chgQObj(int _icol, int _jcol, double _dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgRHS
public void chgRHS(int nrows, int[] _mindex, double[] _drhs) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgRHSrange
public void chgRHSrange(int nrows, int[] _mindex, double[] _drng) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgObjSense
public void chgObjSense(XPRSenumerations.ObjSense objsense) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgGlbLimit
public void chgGlbLimit(int ncols, int[] _mindex, double[] _dlimit) throws XPRSprobException
- Throws:
-
XPRSprobException
-
save
public void save() throws XPRSprobException
- Throws:
-
XPRSprobException
-
saveAs
public void saveAs(java.lang.String _filename) throws XPRSprobException
- Throws:
-
XPRSprobException
-
restore
public void restore(java.lang.String _sprobname, java.lang.String _force) throws XPRSprobException
- Throws:
-
XPRSprobException
-
restore
public void restore() throws XPRSprobException
- Throws:
-
XPRSprobException
-
restore
public void restore(java.lang.String _sprobname) throws XPRSprobException
- Throws:
-
XPRSprobException
-
pivot
public void pivot(int _in, int _out) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPivots
public void getPivots(int _in, int[] _mout, double[] _dout, DoubleHolder _dobjo, IntHolder npiv, int maxpiv) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addCuts
public void addCuts(int ncuts, int[] mtype, byte[] qrtype, double[] drhs, int[] mstart, int[] mcols, double[] dmatval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addCuts
public void addCuts(int ncuts, int[] mtype, byte[] qrtype, double[] drhs, long[] mstart, int[] mcols, double[] dmatval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCuts
public void delCuts(int ibasis, int itype, int interp, double delta, int ncuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCuts
public void delCuts(int ibasis) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCuts
public void delCuts(int ibasis, int itype, int interp) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCuts
public void delCuts(int ibasis, int itype, int interp, double delta) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCuts
public void delCuts(int ibasis, int ncuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCPCuts
public void delCPCuts(int itype, int interp, int ncuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCPCuts
public void delCPCuts() throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCPCuts
public void delCPCuts(int itype, int interp) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delCPCuts
public void delCPCuts(int ncuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCutList
public void getCutList(int itype, int interp, IntHolder ncuts, int maxcuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCutList
public int getCutList(int itype, int interp, int maxcuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCutList
public int getCutList(int maxcuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCPCutList
public void getCPCutList(int itype, int interp, double delta, IntHolder ncuts, int maxcuts, XPRScut[] mcutind, double[] dviol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCPCutList
public int getCPCutList(int itype, int interp, double delta, int maxcuts, XPRScut[] mcutind, double[] dviol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCPCutList
public int getCPCutList(int maxcuts, XPRScut[] mcutind, double[] dviol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCPCuts
public void getCPCuts(XPRScut[] mindex, int ncuts, int size, int[] mtype, byte[] qrtype, int[] mstart, int[] mcols, double[] dmatval, double[] drhs) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCPCuts
public void getCPCuts(XPRScut[] mindex, int ncuts, long size, int[] mtype, byte[] qrtype, long[] mstart, int[] mcols, double[] dmatval, double[] drhs) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadCuts
public void loadCuts(int itype, int interp, int ncuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadCuts
public void loadCuts(int itype, int interp) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadCuts
public void loadCuts(int ncuts, XPRScut[] mcutind) throws XPRSprobException
- Throws:
-
XPRSprobException
-
storeCuts
public void storeCuts(int ncuts, int nodupl, int[] mtype, byte[] qrtype, double[] drhs, int[] mstart, XPRScut[] mindex, int[] mcols, double[] dmatval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
storeCuts
public void storeCuts(int ncuts, int nodupl, int[] mtype, byte[] qrtype, double[] drhs, long[] mstart, XPRScut[] mindex, int[] mcols, double[] dmatval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
presolveRow
public void presolveRow(char qrtype, int nzo, int[] mcolso, double[] dvalo, double drhso, int maxcoeffs, IntHolder nzp, int[] mcolsp, double[] dvalp, DoubleHolder drhsp, IntHolder status) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadLPSol
public void loadLPSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj, IntHolder status) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadMipSol
public void loadMipSol(double[] dsol, IntHolder status) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadMipSol
public int loadMipSol(double[] dsol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addMipSol
public void addMipSol(int ilength, double[] mipsolval, int[] mipsolcol, java.lang.String solname) throws XPRSprobException
- Throws:
-
XPRSprobException
-
storeBounds
public void storeBounds(int nbnds, int[] mcols, byte[] qbtype, double[] dbnd, XPRSbounds mindex) throws XPRSprobException
- Throws:
-
XPRSprobException
-
storeBounds
public XPRSbounds storeBounds(int nbnds, int[] mcols, byte[] qbtype, double[] dbnd) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setBranchCuts
public void setBranchCuts(int nbcuts, XPRScut[] mindex) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setBranchBounds
public void setBranchBounds(XPRSbounds mindex) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLastError
public void getLastError(StringHolder errmsg) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLastError
public java.lang.String getLastError() throws XPRSprobException
Description copied from class:XPRSobject
Returns last error message that occurred on this XPRSobject- Specified by:
-
getLastError
in classXPRSobject
- Throws:
-
XPRSprobException
-
basisCondition
public void basisCondition(DoubleHolder condnum, DoubleHolder scondnum) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMipSol
public void getMipSol(double[] _dx, double[] _dslack) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMipSol
public void getMipSol(double[] _dx) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMipSolVal
public void getMipSolVal(int col, int row, DoubleHolder _dx, DoubleHolder _dslack) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLpSol
public void getLpSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLpSol
public void getLpSol(double[] _dx) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLpSolVal
public void getLpSolVal(int col, int row, DoubleHolder _dx, DoubleHolder _dslack, DoubleHolder _dual, DoubleHolder _dj) throws XPRSprobException
- Throws:
-
XPRSprobException
-
objSA
public void objSA(int ncols, int[] mindex, double[] lower, double[] upper) throws XPRSprobException
- Throws:
-
XPRSprobException
-
rhsSA
public void rhsSA(int nrows, int[] mindex, double[] lower, double[] upper) throws XPRSprobException
- Throws:
-
XPRSprobException
-
postSolve
public void postSolve() throws XPRSprobException
- Throws:
-
XPRSprobException
-
delSets
public void delSets(int nsets, int[] msindex) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addSets
public void addSets(int newsets, int newnz, byte[] qstype, int[] msstart, int[] mscols, double[] dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addSets
public void addSets(int newsets, long newnz, byte[] qstype, long[] msstart, int[] mscols, double[] dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
strongBranch
public void strongBranch(int nbnds, int[] _mindex, byte[] _sboundtype, double[] _dbnd, int itrlimit, double[] _dsbobjval, int[] _msbstatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
estimateRowDualRanges
public void estimateRowDualRanges(int nRows, int[] rowIndices, int iterationLimit, double[] minDualActivity, double[] maxDualActivity) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPrimalRay
public void getPrimalRay(double[] _dpray, IntHolder _hasray) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getDualRay
public void getDualRay(double[] _ddray, IntHolder _hasray) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setMessageStatus
public void setMessageStatus(int errcode, int bEnabledStatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMessageStatus
public void getMessageStatus(int errcode, IntHolder bEnabledStatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getMessageStatus
public int getMessageStatus(int errcode) throws XPRSprobException
- Throws:
-
XPRSprobException
-
repairWeightedInfeas
public void repairWeightedInfeas(IntHolder scode, double[] lrp_array, double[] grp_array, double[] lbp_array, double[] ubp_array, char second_phase, double delta, java.lang.String optflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
repairWeightedInfeasBounds
public void repairWeightedInfeasBounds(IntHolder scode, double[] lrp_array, double[] grp_array, double[] lbp_array, double[] ubp_array, double[] lrb_array, double[] grb_array, double[] lbb_array, double[] ubb_array, char second_phase, double delta, java.lang.String optflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
repairInfeas
public void repairInfeas(IntHolder scode, char ptype, char phase2, char globalflags, double lrp, double grp, double lbp, double ubp, double delta) throws XPRSprobException
- Throws:
-
XPRSprobException
-
setIndicators
public void setIndicators(int nrows, int[] _mrows, int[] _inds, int[] _comps) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getIndicators
public void getIndicators(int[] _inds, int[] _comps, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delIndicators
public void delIndicators(int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCutSlack
public void getCutSlack(XPRScut cut, DoubleHolder dslack) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getCutMap
public void getCutMap(int ncuts, XPRScut[] cuts, int[] cutmap) throws XPRSprobException
- Throws:
-
XPRSprobException
-
basisStability
public void basisStability(int typecode, int norm, int ifscaled, DoubleHolder dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
calcSlacks
public void calcSlacks(double[] solution, double[] calculatedslacks) throws XPRSprobException
- Throws:
-
XPRSprobException
-
calcReducedCosts
public void calcReducedCosts(double[] duals, double[] solution, double[] calculateddjs) throws XPRSprobException
- Throws:
-
XPRSprobException
-
calcObjective
public void calcObjective(double[] solution, DoubleHolder objective) throws XPRSprobException
- Throws:
-
XPRSprobException
-
refineMipSol
public void refineMipSol(int options, java.lang.String _sflags, double[] solution, double[] refined_solution, IntHolder refinestatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
calcSolInfo
public void calcSolInfo(double[] solution, double[] dual, int Property, DoubleHolder Value) throws XPRSprobException
- Throws:
-
XPRSprobException
-
dumpControls
public void dumpControls() throws XPRSprobException
- Throws:
-
XPRSprobException
-
crossoverLpSol
public void crossoverLpSol(IntHolder status) throws XPRSprobException
- Throws:
-
XPRSprobException
-
tune
public void tune(java.lang.String _sflags) throws XPRSprobException
- Throws:
-
XPRSprobException
-
tunerWriteMethod
public void tunerWriteMethod(java.lang.String methodfile) throws XPRSprobException
- Throws:
-
XPRSprobException
-
tunerReadMethod
public void tunerReadMethod(java.lang.String methodfile) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addPwlCons
public void addPwlCons(int npwls, int npoints, int[] cols, int[] resultant, int[] start, double[] xval, double[] yval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addPwlCons
public void addPwlCons(int npwls, long npoints, int[] cols, int[] resultant, long[] start, double[] xval, double[] yval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPwlCons
public void getPwlCons(int[] col, int[] resultant, int[] start, double[] xval, double[] yval, int size, IntHolder npoints, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getPwlCons
public void getPwlCons(int[] col, int[] resultant, long[] start, double[] xval, double[] yval, long size, LongHolder npoints, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delPwlCons
public void delPwlCons(int npwls, int[] _mindex) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addGenCons
public void addGenCons(int ngencons, int ncols, int nvals, XPRSenumerations.GenConsType[] type, int[] resultant, int[] colstart, int[] col, int[] valstart, double[] val) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addGenCons
public void addGenCons(int ngencons, long ncols, long nvals, XPRSenumerations.GenConsType[] type, int[] resultant, long[] colstart, int[] col, long[] valstart, double[] val) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getGenCons
public void getGenCons(XPRSenumerations.GenConsType[] type, int[] resultant, int[] colstart, int[] col, int colsize, IntHolder ncols, int[] valstart, double[] val, int valsize, IntHolder nvals, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getGenCons
public void getGenCons(XPRSenumerations.GenConsType[] type, int[] resultant, long[] colstart, int[] col, long colsize, LongHolder ncols, long[] valstart, double[] val, long valsize, LongHolder nvals, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delGenCons
public void delGenCons(int ngencons, int[] _mindex) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRowCoeff
public void getQRowCoeff(int irow, int icol, int jcol, DoubleHolder dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRowCoeff
public double getQRowCoeff(int irow, int icol, int jcol) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRowQMatrix
public void getQRowQMatrix(int irow, int[] mstart, int[] mclind, double[] dobjval, int maxcoeffs, IntHolder ncoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRowQMatrix
public int getQRowQMatrix(int irow, int[] mstart, int[] mclind, double[] dobjval, int maxcoeffs, int first, int last) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRowQMatrixTriplets
public void getQRowQMatrixTriplets(int irow, IntHolder nqelem, int[] mqcol1, int[] mqcol2, double[] dqe) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRowQMatrixTriplets
public int getQRowQMatrixTriplets(int irow, int[] mqcol1, int[] mqcol2, double[] dqe) throws XPRSprobException
- Throws:
-
XPRSprobException
-
chgQRowCoeff
public void chgQRowCoeff(int irow, int icol, int jcol, double dval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRows
public void getQRows(IntHolder qmn, int[] qcrows) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRows
public int getQRows(int[] qcrows) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getQRows
public int getQRows() throws XPRSprobException
- Throws:
-
XPRSprobException
-
addQMatrix
public void addQMatrix(int irow, int nqtr, int[] mqc1, int[] mqc2, double[] dqew) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addQMatrix
public void addQMatrix(int irow, long nqtr, int[] mqc1, int[] mqc2, double[] dqew) throws XPRSprobException
- Throws:
-
XPRSprobException
-
delQMatrix
public void delQMatrix(int irow) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadQCQP
public void loadQCQP(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, int nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval, int qmn, int[] qcrows, int[] qcnquads, int[] qcmqcol1, int[] qcmqcol2, double[] qcdqval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadQCQP
public void loadQCQP(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _mstart, int[] _mnel, int[] _mrwind, double[] _dmatval, double[] _dlb, double[] _dub, long nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval, int qmn, int[] qcrows, long[] qcnquads, int[] qcmqcol1, int[] qcmqcol2, double[] qcdqval) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadQCQPGlobal
public void loadQCQPGlobal(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, int[] _matbeg, int[] _matcnt, int[] _matrow, double[] _dmatval, double[] _dlb, double[] _dub, int nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval, int qmn, int[] qcrows, int[] qcnquads, int[] qcmqcol1, int[] qcmqcol2, double[] qcdqval, int ngents, int nsets, byte[] qgtype, int[] mgcols, double[] dlim, byte[] qstype, int[] msstart, int[] mscols, double[] dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
loadQCQPGlobal
public void loadQCQPGlobal(java.lang.String _sprobname, int ncols, int nrows, byte[] _srowtypes, double[] _drhs, double[] _drange, double[] _dobj, long[] _matbeg, int[] _matcnt, int[] _matrow, double[] _dmatval, double[] _dlb, double[] _dub, long nquads, int[] _mqcol1, int[] _mqcol2, double[] _dqval, int qmn, int[] qcrows, long[] qcnquads, int[] qcmqcol1, int[] qcmqcol2, double[] qcdqval, int ngents, int nsets, byte[] qgtype, int[] mgcols, double[] dlim, byte[] qstype, long[] msstart, int[] mscols, double[] dref) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getControlInfo
public void getControlInfo(java.lang.String sCaName, IntHolder iHeaderId, XPRSenumerationHolders.ParameterType iTypeinfo) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getAttribInfo
public void getAttribInfo(java.lang.String sCaName, IntHolder iHeaderId, XPRSenumerationHolders.ParameterType iTypeinfo) throws XPRSprobException
- Throws:
-
XPRSprobException
-
strongBranchCB
public void strongBranchCB(int nbnds, int[] _mindex, byte[] _sboundtype, double[] _dbnd, int itrlimit, double[] _dsbobjval, int[] _msbstatus, XPRSstrongBranchSolveListener sbsolvecb, java.lang.Object vContext) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getBarNumStability
public void getBarNumStability(int[] dColumnStability, int[] dRowStability) throws XPRSprobException
- Throws:
-
XPRSprobException
-
getLastBarSol
public void getLastBarSol(double[] _dx, double[] _dslack, double[] _dual, double[] _dj, IntHolder lpstatus) throws XPRSprobException
- Throws:
-
XPRSprobException
-
addLpLogListener
public void addLpLogListener(XPRSlpLogListener listener) throws XPRSexception
Add a listener for the LpLogcallback. Note that an object can have multiple LpLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all LpLog listeners will be removed.) - Throws:
-
XPRSexception
-
addLpLogListener
public void addLpLogListener(XPRSlpLogListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the LpLogcallback. Note that an object can have multiple LpLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all LpLog listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addLpLogListener
public void addLpLogListener(XPRSlpLogListener listener, int priority) throws XPRSexception
Add the listener for the LpLogcallback. Note that an object can have multiple LpLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all LpLog listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addLpLogListener
public void addLpLogListener(XPRSlpLogListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the LpLogcallback. Note that an object can have multiple LpLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all LpLog 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
-
removeLpLogListener
public void removeLpLogListener(XPRSlpLogListener listener) throws XPRSexception
Removes the given LpLog listener from the object.- Throws:
-
XPRSexception
-
removeLpLogListener
public void removeLpLogListener(XPRSlpLogListener listener, java.lang.Object data) throws XPRSexception
Removes the given LpLog listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeLpLogListener
public void removeLpLogListener() throws XPRSexception
Removes all LpLog listeners from the object. @deprecated as of Xpress 7.1, please useremoveLpLogListener(XPRSlpLogListener)
orremoveLpLogListeners()
- Throws:
-
XPRSexception
-
removeLpLogListeners
public void removeLpLogListeners() throws XPRSexception
Remove all listeners for the LpLog callback- Throws:
-
XPRSexception
-
addGlobalLogListener
public void addGlobalLogListener(XPRSglobalLogListener listener) throws XPRSexception
Add a listener for the GlobalLogcallback. Note that an object can have multiple GlobalLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all GlobalLog listeners will be removed.) - Throws:
-
XPRSexception
-
addGlobalLogListener
public void addGlobalLogListener(XPRSglobalLogListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the GlobalLogcallback. Note that an object can have multiple GlobalLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all GlobalLog listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addGlobalLogListener
public void addGlobalLogListener(XPRSglobalLogListener listener, int priority) throws XPRSexception
Add the listener for the GlobalLogcallback. Note that an object can have multiple GlobalLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all GlobalLog listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addGlobalLogListener
public void addGlobalLogListener(XPRSglobalLogListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the GlobalLogcallback. Note that an object can have multiple GlobalLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all GlobalLog 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
-
removeGlobalLogListener
public void removeGlobalLogListener(XPRSglobalLogListener listener) throws XPRSexception
Removes the given GlobalLog listener from the object.- Throws:
-
XPRSexception
-
removeGlobalLogListener
public void removeGlobalLogListener(XPRSglobalLogListener listener, java.lang.Object data) throws XPRSexception
Removes the given GlobalLog listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeGlobalLogListener
public void removeGlobalLogListener() throws XPRSexception
Removes all GlobalLog listeners from the object. @deprecated as of Xpress 7.1, please useremoveGlobalLogListener(XPRSglobalLogListener)
orremoveGlobalLogListeners()
- Throws:
-
XPRSexception
-
removeGlobalLogListeners
public void removeGlobalLogListeners() throws XPRSexception
Remove all listeners for the GlobalLog callback- Throws:
-
XPRSexception
-
addCutLogListener
public void addCutLogListener(XPRScutLogListener listener) throws XPRSexception
Add a listener for the CutLogcallback. Note that an object can have multiple CutLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CutLog listeners will be removed.) - Throws:
-
XPRSexception
-
addCutLogListener
public void addCutLogListener(XPRScutLogListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the CutLogcallback. Note that an object can have multiple CutLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CutLog listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addCutLogListener
public void addCutLogListener(XPRScutLogListener listener, int priority) throws XPRSexception
Add the listener for the CutLogcallback. Note that an object can have multiple CutLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CutLog listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addCutLogListener
public void addCutLogListener(XPRScutLogListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the CutLogcallback. Note that an object can have multiple CutLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CutLog 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
-
removeCutLogListener
public void removeCutLogListener(XPRScutLogListener listener) throws XPRSexception
Removes the given CutLog listener from the object.- Throws:
-
XPRSexception
-
removeCutLogListener
public void removeCutLogListener(XPRScutLogListener listener, java.lang.Object data) throws XPRSexception
Removes the given CutLog listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeCutLogListener
public void removeCutLogListener() throws XPRSexception
Removes all CutLog listeners from the object. @deprecated as of Xpress 7.1, please useremoveCutLogListener(XPRScutLogListener)
orremoveCutLogListeners()
- Throws:
-
XPRSexception
-
removeCutLogListeners
public void removeCutLogListeners() throws XPRSexception
Remove all listeners for the CutLog callback- Throws:
-
XPRSexception
-
addBarLogListener
public void addBarLogListener(XPRSbarLogListener listener) throws XPRSexception
Add a listener for the BarLogcallback. Note that an object can have multiple BarLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BarLog listeners will be removed.) - Throws:
-
XPRSexception
-
addBarLogListener
public void addBarLogListener(XPRSbarLogListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the BarLogcallback. Note that an object can have multiple BarLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BarLog listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addBarLogListener
public void addBarLogListener(XPRSbarLogListener listener, int priority) throws XPRSexception
Add the listener for the BarLogcallback. Note that an object can have multiple BarLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BarLog listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addBarLogListener
public void addBarLogListener(XPRSbarLogListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the BarLogcallback. Note that an object can have multiple BarLog listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BarLog 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
-
removeBarLogListener
public void removeBarLogListener(XPRSbarLogListener listener) throws XPRSexception
Removes the given BarLog listener from the object.- Throws:
-
XPRSexception
-
removeBarLogListener
public void removeBarLogListener(XPRSbarLogListener listener, java.lang.Object data) throws XPRSexception
Removes the given BarLog listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeBarLogListener
public void removeBarLogListener() throws XPRSexception
Removes all BarLog listeners from the object. @deprecated as of Xpress 7.1, please useremoveBarLogListener(XPRSbarLogListener)
orremoveBarLogListeners()
- Throws:
-
XPRSexception
-
removeBarLogListeners
public void removeBarLogListeners() throws XPRSexception
Remove all listeners for the BarLog callback- Throws:
-
XPRSexception
-
addCutMgrListener
public void addCutMgrListener(XPRScutMgrListener listener) throws XPRSexception
Add a listener for the CutMgrcallback. Note that an object can have multiple CutMgr listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CutMgr listeners will be removed.) - Throws:
-
XPRSexception
-
addCutMgrListener
public void addCutMgrListener(XPRScutMgrListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the CutMgrcallback. Note that an object can have multiple CutMgr listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CutMgr listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addCutMgrListener
public void addCutMgrListener(XPRScutMgrListener listener, int priority) throws XPRSexception
Add the listener for the CutMgrcallback. Note that an object can have multiple CutMgr listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CutMgr listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addCutMgrListener
public void addCutMgrListener(XPRScutMgrListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the CutMgrcallback. Note that an object can have multiple CutMgr listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CutMgr 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
-
removeCutMgrListener
public void removeCutMgrListener(XPRScutMgrListener listener) throws XPRSexception
Removes the given CutMgr listener from the object.- Throws:
-
XPRSexception
-
removeCutMgrListener
public void removeCutMgrListener(XPRScutMgrListener listener, java.lang.Object data) throws XPRSexception
Removes the given CutMgr listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeCutMgrListener
public void removeCutMgrListener() throws XPRSexception
Removes all CutMgr listeners from the object. @deprecated as of Xpress 7.1, please useremoveCutMgrListener(XPRScutMgrListener)
orremoveCutMgrListeners()
- Throws:
-
XPRSexception
-
removeCutMgrListeners
public void removeCutMgrListeners() throws XPRSexception
Remove all listeners for the CutMgr callback- Throws:
-
XPRSexception
-
addChgNodeListener
public void addChgNodeListener(XPRSchgNodeListener listener) throws XPRSexception
Add a listener for the ChgNodecallback. Note that an object can have multiple ChgNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChgNode listeners will be removed.) - Throws:
-
XPRSexception
-
addChgNodeListener
public void addChgNodeListener(XPRSchgNodeListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the ChgNodecallback. Note that an object can have multiple ChgNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChgNode listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addChgNodeListener
public void addChgNodeListener(XPRSchgNodeListener listener, int priority) throws XPRSexception
Add the listener for the ChgNodecallback. Note that an object can have multiple ChgNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChgNode listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addChgNodeListener
public void addChgNodeListener(XPRSchgNodeListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the ChgNodecallback. Note that an object can have multiple ChgNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChgNode 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
-
removeChgNodeListener
public void removeChgNodeListener(XPRSchgNodeListener listener) throws XPRSexception
Removes the given ChgNode listener from the object.- Throws:
-
XPRSexception
-
removeChgNodeListener
public void removeChgNodeListener(XPRSchgNodeListener listener, java.lang.Object data) throws XPRSexception
Removes the given ChgNode listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeChgNodeListener
public void removeChgNodeListener() throws XPRSexception
Removes all ChgNode listeners from the object. @deprecated as of Xpress 7.1, please useremoveChgNodeListener(XPRSchgNodeListener)
orremoveChgNodeListeners()
- Throws:
-
XPRSexception
-
removeChgNodeListeners
public void removeChgNodeListeners() throws XPRSexception
Remove all listeners for the ChgNode callback- Throws:
-
XPRSexception
-
addOptNodeListener
public void addOptNodeListener(XPRSoptNodeListener listener) throws XPRSexception
Add a listener for the OptNodecallback. Note that an object can have multiple OptNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all OptNode listeners will be removed.) - Throws:
-
XPRSexception
-
addOptNodeListener
public void addOptNodeListener(XPRSoptNodeListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the OptNodecallback. Note that an object can have multiple OptNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all OptNode listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addOptNodeListener
public void addOptNodeListener(XPRSoptNodeListener listener, int priority) throws XPRSexception
Add the listener for the OptNodecallback. Note that an object can have multiple OptNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all OptNode listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addOptNodeListener
public void addOptNodeListener(XPRSoptNodeListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the OptNodecallback. Note that an object can have multiple OptNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all OptNode 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
-
removeOptNodeListener
public void removeOptNodeListener(XPRSoptNodeListener listener) throws XPRSexception
Removes the given OptNode listener from the object.- Throws:
-
XPRSexception
-
removeOptNodeListener
public void removeOptNodeListener(XPRSoptNodeListener listener, java.lang.Object data) throws XPRSexception
Removes the given OptNode listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeOptNodeListener
public void removeOptNodeListener() throws XPRSexception
Removes all OptNode listeners from the object. @deprecated as of Xpress 7.1, please useremoveOptNodeListener(XPRSoptNodeListener)
orremoveOptNodeListeners()
- Throws:
-
XPRSexception
-
removeOptNodeListeners
public void removeOptNodeListeners() throws XPRSexception
Remove all listeners for the OptNode callback- Throws:
-
XPRSexception
-
addPreNodeListener
public void addPreNodeListener(XPRSpreNodeListener listener) throws XPRSexception
Add a listener for the PreNodecallback. Note that an object can have multiple PreNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all PreNode listeners will be removed.) - Throws:
-
XPRSexception
-
addPreNodeListener
public void addPreNodeListener(XPRSpreNodeListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the PreNodecallback. Note that an object can have multiple PreNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all PreNode listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addPreNodeListener
public void addPreNodeListener(XPRSpreNodeListener listener, int priority) throws XPRSexception
Add the listener for the PreNodecallback. Note that an object can have multiple PreNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all PreNode listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addPreNodeListener
public void addPreNodeListener(XPRSpreNodeListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the PreNodecallback. Note that an object can have multiple PreNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all PreNode 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
-
removePreNodeListener
public void removePreNodeListener(XPRSpreNodeListener listener) throws XPRSexception
Removes the given PreNode listener from the object.- Throws:
-
XPRSexception
-
removePreNodeListener
public void removePreNodeListener(XPRSpreNodeListener listener, java.lang.Object data) throws XPRSexception
Removes the given PreNode listener with the given data value from the object.- Throws:
-
XPRSexception
-
removePreNodeListener
public void removePreNodeListener() throws XPRSexception
Removes all PreNode listeners from the object. @deprecated as of Xpress 7.1, please useremovePreNodeListener(XPRSpreNodeListener)
orremovePreNodeListeners()
- Throws:
-
XPRSexception
-
removePreNodeListeners
public void removePreNodeListeners() throws XPRSexception
Remove all listeners for the PreNode callback- Throws:
-
XPRSexception
-
addInfNodeListener
public void addInfNodeListener(XPRSinfNodeListener listener) throws XPRSexception
Add a listener for the InfNodecallback. Note that an object can have multiple InfNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all InfNode listeners will be removed.) - Throws:
-
XPRSexception
-
addInfNodeListener
public void addInfNodeListener(XPRSinfNodeListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the InfNodecallback. Note that an object can have multiple InfNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all InfNode listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addInfNodeListener
public void addInfNodeListener(XPRSinfNodeListener listener, int priority) throws XPRSexception
Add the listener for the InfNodecallback. Note that an object can have multiple InfNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all InfNode listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addInfNodeListener
public void addInfNodeListener(XPRSinfNodeListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the InfNodecallback. Note that an object can have multiple InfNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all InfNode 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
-
removeInfNodeListener
public void removeInfNodeListener(XPRSinfNodeListener listener) throws XPRSexception
Removes the given InfNode listener from the object.- Throws:
-
XPRSexception
-
removeInfNodeListener
public void removeInfNodeListener(XPRSinfNodeListener listener, java.lang.Object data) throws XPRSexception
Removes the given InfNode listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeInfNodeListener
public void removeInfNodeListener() throws XPRSexception
Removes all InfNode listeners from the object. @deprecated as of Xpress 7.1, please useremoveInfNodeListener(XPRSinfNodeListener)
orremoveInfNodeListeners()
- Throws:
-
XPRSexception
-
removeInfNodeListeners
public void removeInfNodeListeners() throws XPRSexception
Remove all listeners for the InfNode callback- Throws:
-
XPRSexception
-
addNodeCutoffListener
public void addNodeCutoffListener(XPRSnodeCutoffListener listener) throws XPRSexception
Add a listener for the NodeCutoffcallback. Note that an object can have multiple NodeCutoff listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all NodeCutoff listeners will be removed.) - Throws:
-
XPRSexception
-
addNodeCutoffListener
public void addNodeCutoffListener(XPRSnodeCutoffListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the NodeCutoffcallback. Note that an object can have multiple NodeCutoff listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all NodeCutoff listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addNodeCutoffListener
public void addNodeCutoffListener(XPRSnodeCutoffListener listener, int priority) throws XPRSexception
Add the listener for the NodeCutoffcallback. Note that an object can have multiple NodeCutoff listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all NodeCutoff listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addNodeCutoffListener
public void addNodeCutoffListener(XPRSnodeCutoffListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the NodeCutoffcallback. Note that an object can have multiple NodeCutoff listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all NodeCutoff 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
-
removeNodeCutoffListener
public void removeNodeCutoffListener(XPRSnodeCutoffListener listener) throws XPRSexception
Removes the given NodeCutoff listener from the object.- Throws:
-
XPRSexception
-
removeNodeCutoffListener
public void removeNodeCutoffListener(XPRSnodeCutoffListener listener, java.lang.Object data) throws XPRSexception
Removes the given NodeCutoff listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeNodeCutoffListener
public void removeNodeCutoffListener() throws XPRSexception
Removes all NodeCutoff listeners from the object. @deprecated as of Xpress 7.1, please useremoveNodeCutoffListener(XPRSnodeCutoffListener)
orremoveNodeCutoffListeners()
- Throws:
-
XPRSexception
-
removeNodeCutoffListeners
public void removeNodeCutoffListeners() throws XPRSexception
Remove all listeners for the NodeCutoff callback- Throws:
-
XPRSexception
-
addIntSolListener
public void addIntSolListener(XPRSintSolListener listener) throws XPRSexception
Add a listener for the IntSolcallback. Note that an object can have multiple IntSol listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all IntSol listeners will be removed.) - Throws:
-
XPRSexception
-
addIntSolListener
public void addIntSolListener(XPRSintSolListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the IntSolcallback. Note that an object can have multiple IntSol listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all IntSol listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addIntSolListener
public void addIntSolListener(XPRSintSolListener listener, int priority) throws XPRSexception
Add the listener for the IntSolcallback. Note that an object can have multiple IntSol listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all IntSol listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addIntSolListener
public void addIntSolListener(XPRSintSolListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the IntSolcallback. Note that an object can have multiple IntSol listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all IntSol 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
-
removeIntSolListener
public void removeIntSolListener(XPRSintSolListener listener) throws XPRSexception
Removes the given IntSol listener from the object.- Throws:
-
XPRSexception
-
removeIntSolListener
public void removeIntSolListener(XPRSintSolListener listener, java.lang.Object data) throws XPRSexception
Removes the given IntSol listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeIntSolListener
public void removeIntSolListener() throws XPRSexception
Removes all IntSol listeners from the object. @deprecated as of Xpress 7.1, please useremoveIntSolListener(XPRSintSolListener)
orremoveIntSolListeners()
- Throws:
-
XPRSexception
-
removeIntSolListeners
public void removeIntSolListeners() throws XPRSexception
Remove all listeners for the IntSol callback- Throws:
-
XPRSexception
-
addPreIntsolListener
public void addPreIntsolListener(XPRSpreIntsolListener listener) throws XPRSexception
Add a listener for the PreIntsolcallback. Note that an object can have multiple PreIntsol listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all PreIntsol listeners will be removed.) - Throws:
-
XPRSexception
-
addPreIntsolListener
public void addPreIntsolListener(XPRSpreIntsolListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the PreIntsolcallback. Note that an object can have multiple PreIntsol listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all PreIntsol listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addPreIntsolListener
public void addPreIntsolListener(XPRSpreIntsolListener listener, int priority) throws XPRSexception
Add the listener for the PreIntsolcallback. Note that an object can have multiple PreIntsol listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all PreIntsol listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addPreIntsolListener
public void addPreIntsolListener(XPRSpreIntsolListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the PreIntsolcallback. Note that an object can have multiple PreIntsol listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all PreIntsol 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
-
removePreIntsolListener
public void removePreIntsolListener(XPRSpreIntsolListener listener) throws XPRSexception
Removes the given PreIntsol listener from the object.- Throws:
-
XPRSexception
-
removePreIntsolListener
public void removePreIntsolListener(XPRSpreIntsolListener listener, java.lang.Object data) throws XPRSexception
Removes the given PreIntsol listener with the given data value from the object.- Throws:
-
XPRSexception
-
removePreIntsolListener
public void removePreIntsolListener() throws XPRSexception
Removes all PreIntsol listeners from the object. @deprecated as of Xpress 7.1, please useremovePreIntsolListener(XPRSpreIntsolListener)
orremovePreIntsolListeners()
- Throws:
-
XPRSexception
-
removePreIntsolListeners
public void removePreIntsolListeners() throws XPRSexception
Remove all listeners for the PreIntsol callback- Throws:
-
XPRSexception
-
addChgBranchListener
public void addChgBranchListener(XPRSchgBranchListener listener) throws XPRSexception
Add a listener for the ChgBranchcallback. Note that an object can have multiple ChgBranch listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChgBranch listeners will be removed.) - Throws:
-
XPRSexception
-
addChgBranchListener
public void addChgBranchListener(XPRSchgBranchListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the ChgBranchcallback. Note that an object can have multiple ChgBranch listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChgBranch listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addChgBranchListener
public void addChgBranchListener(XPRSchgBranchListener listener, int priority) throws XPRSexception
Add the listener for the ChgBranchcallback. Note that an object can have multiple ChgBranch listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChgBranch listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addChgBranchListener
public void addChgBranchListener(XPRSchgBranchListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the ChgBranchcallback. Note that an object can have multiple ChgBranch listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChgBranch 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
-
removeChgBranchListener
public void removeChgBranchListener(XPRSchgBranchListener listener) throws XPRSexception
Removes the given ChgBranch listener from the object.- Throws:
-
XPRSexception
-
removeChgBranchListener
public void removeChgBranchListener(XPRSchgBranchListener listener, java.lang.Object data) throws XPRSexception
Removes the given ChgBranch listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeChgBranchListener
public void removeChgBranchListener() throws XPRSexception
Removes all ChgBranch listeners from the object. @deprecated as of Xpress 7.1, please useremoveChgBranchListener(XPRSchgBranchListener)
orremoveChgBranchListeners()
- Throws:
-
XPRSexception
-
removeChgBranchListeners
public void removeChgBranchListeners() throws XPRSexception
Remove all listeners for the ChgBranch callback- Throws:
-
XPRSexception
-
addEstimateListener
public void addEstimateListener(XPRSestimateListener listener) throws XPRSexception
Add a listener for the Estimatecallback. Note that an object can have multiple Estimate listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Estimate listeners will be removed.) - Throws:
-
XPRSexception
-
addEstimateListener
public void addEstimateListener(XPRSestimateListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the Estimatecallback. Note that an object can have multiple Estimate listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Estimate listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addEstimateListener
public void addEstimateListener(XPRSestimateListener listener, int priority) throws XPRSexception
Add the listener for the Estimatecallback. Note that an object can have multiple Estimate listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Estimate listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addEstimateListener
public void addEstimateListener(XPRSestimateListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the Estimatecallback. Note that an object can have multiple Estimate listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Estimate 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
-
removeEstimateListener
public void removeEstimateListener(XPRSestimateListener listener) throws XPRSexception
Removes the given Estimate listener from the object.- Throws:
-
XPRSexception
-
removeEstimateListener
public void removeEstimateListener(XPRSestimateListener listener, java.lang.Object data) throws XPRSexception
Removes the given Estimate listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeEstimateListener
public void removeEstimateListener() throws XPRSexception
Removes all Estimate listeners from the object. @deprecated as of Xpress 7.1, please useremoveEstimateListener(XPRSestimateListener)
orremoveEstimateListeners()
- Throws:
-
XPRSexception
-
removeEstimateListeners
public void removeEstimateListeners() throws XPRSexception
Remove all listeners for the Estimate callback- Throws:
-
XPRSexception
-
addSepNodeListener
public void addSepNodeListener(XPRSsepNodeListener listener) throws XPRSexception
Add a listener for the SepNodecallback. Note that an object can have multiple SepNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all SepNode listeners will be removed.) - Throws:
-
XPRSexception
-
addSepNodeListener
public void addSepNodeListener(XPRSsepNodeListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the SepNodecallback. Note that an object can have multiple SepNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all SepNode listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addSepNodeListener
public void addSepNodeListener(XPRSsepNodeListener listener, int priority) throws XPRSexception
Add the listener for the SepNodecallback. Note that an object can have multiple SepNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all SepNode listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addSepNodeListener
public void addSepNodeListener(XPRSsepNodeListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the SepNodecallback. Note that an object can have multiple SepNode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all SepNode 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
-
removeSepNodeListener
public void removeSepNodeListener(XPRSsepNodeListener listener) throws XPRSexception
Removes the given SepNode listener from the object.- Throws:
-
XPRSexception
-
removeSepNodeListener
public void removeSepNodeListener(XPRSsepNodeListener listener, java.lang.Object data) throws XPRSexception
Removes the given SepNode listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeSepNodeListener
public void removeSepNodeListener() throws XPRSexception
Removes all SepNode listeners from the object. @deprecated as of Xpress 7.1, please useremoveSepNodeListener(XPRSsepNodeListener)
orremoveSepNodeListeners()
- Throws:
-
XPRSexception
-
removeSepNodeListeners
public void removeSepNodeListeners() throws XPRSexception
Remove all listeners for the SepNode callback- Throws:
-
XPRSexception
-
addMessageListener
public void addMessageListener(XPRSmessageListener listener) throws XPRSexception
Add a listener for the Messagecallback. Note that an object can have multiple Message listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Message listeners will be removed.) - Throws:
-
XPRSexception
-
addMessageListener
public void addMessageListener(XPRSmessageListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the Messagecallback. Note that an object can have multiple Message listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Message listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addMessageListener
public void addMessageListener(XPRSmessageListener listener, int priority) throws XPRSexception
Add the listener for the Messagecallback. Note that an object can have multiple Message listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Message listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addMessageListener
public void addMessageListener(XPRSmessageListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the Messagecallback. Note that an object can have multiple Message listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Message 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
-
removeMessageListener
public void removeMessageListener(XPRSmessageListener listener) throws XPRSexception
Removes the given Message listener from the object.- Throws:
-
XPRSexception
-
removeMessageListener
public void removeMessageListener(XPRSmessageListener listener, java.lang.Object data) throws XPRSexception
Removes the given Message listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeMessageListener
public void removeMessageListener() throws XPRSexception
Removes all Message listeners from the object. @deprecated as of Xpress 7.1, please useremoveMessageListener(XPRSmessageListener)
orremoveMessageListeners()
- Throws:
-
XPRSexception
-
removeMessageListeners
public void removeMessageListeners() throws XPRSexception
Remove all listeners for the Message callback- Throws:
-
XPRSexception
-
addMipThreadListener
public void addMipThreadListener(XPRSmipThreadListener listener) throws XPRSexception
Add a listener for the MipThreadcallback. Note that an object can have multiple MipThread listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all MipThread listeners will be removed.) - Throws:
-
XPRSexception
-
addMipThreadListener
public void addMipThreadListener(XPRSmipThreadListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the MipThreadcallback. Note that an object can have multiple MipThread listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all MipThread listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addMipThreadListener
public void addMipThreadListener(XPRSmipThreadListener listener, int priority) throws XPRSexception
Add the listener for the MipThreadcallback. Note that an object can have multiple MipThread listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all MipThread listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addMipThreadListener
public void addMipThreadListener(XPRSmipThreadListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the MipThreadcallback. Note that an object can have multiple MipThread listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all MipThread 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
-
removeMipThreadListener
public void removeMipThreadListener(XPRSmipThreadListener listener) throws XPRSexception
Removes the given MipThread listener from the object.- Throws:
-
XPRSexception
-
removeMipThreadListener
public void removeMipThreadListener(XPRSmipThreadListener listener, java.lang.Object data) throws XPRSexception
Removes the given MipThread listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeMipThreadListener
public void removeMipThreadListener() throws XPRSexception
Removes all MipThread listeners from the object. @deprecated as of Xpress 7.1, please useremoveMipThreadListener(XPRSmipThreadListener)
orremoveMipThreadListeners()
- Throws:
-
XPRSexception
-
removeMipThreadListeners
public void removeMipThreadListeners() throws XPRSexception
Remove all listeners for the MipThread callback- Throws:
-
XPRSexception
-
addDestroyMTListener
public void addDestroyMTListener(XPRSdestroyMTListener listener) throws XPRSexception
Add a listener for the DestroyMTcallback. Note that an object can have multiple DestroyMT listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all DestroyMT listeners will be removed.) - Throws:
-
XPRSexception
-
addDestroyMTListener
public void addDestroyMTListener(XPRSdestroyMTListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the DestroyMTcallback. Note that an object can have multiple DestroyMT listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all DestroyMT listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addDestroyMTListener
public void addDestroyMTListener(XPRSdestroyMTListener listener, int priority) throws XPRSexception
Add the listener for the DestroyMTcallback. Note that an object can have multiple DestroyMT listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all DestroyMT listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addDestroyMTListener
public void addDestroyMTListener(XPRSdestroyMTListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the DestroyMTcallback. Note that an object can have multiple DestroyMT listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all DestroyMT 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
-
removeDestroyMTListener
public void removeDestroyMTListener(XPRSdestroyMTListener listener) throws XPRSexception
Removes the given DestroyMT listener from the object.- Throws:
-
XPRSexception
-
removeDestroyMTListener
public void removeDestroyMTListener(XPRSdestroyMTListener listener, java.lang.Object data) throws XPRSexception
Removes the given DestroyMT listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeDestroyMTListener
public void removeDestroyMTListener() throws XPRSexception
Removes all DestroyMT listeners from the object. @deprecated as of Xpress 7.1, please useremoveDestroyMTListener(XPRSdestroyMTListener)
orremoveDestroyMTListeners()
- Throws:
-
XPRSexception
-
removeDestroyMTListeners
public void removeDestroyMTListeners() throws XPRSexception
Remove all listeners for the DestroyMT callback- Throws:
-
XPRSexception
-
addNewnodeListener
public void addNewnodeListener(XPRSnewnodeListener listener) throws XPRSexception
Add a listener for the Newnodecallback. Note that an object can have multiple Newnode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Newnode listeners will be removed.) - Throws:
-
XPRSexception
-
addNewnodeListener
public void addNewnodeListener(XPRSnewnodeListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the Newnodecallback. Note that an object can have multiple Newnode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Newnode listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addNewnodeListener
public void addNewnodeListener(XPRSnewnodeListener listener, int priority) throws XPRSexception
Add the listener for the Newnodecallback. Note that an object can have multiple Newnode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Newnode listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addNewnodeListener
public void addNewnodeListener(XPRSnewnodeListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the Newnodecallback. Note that an object can have multiple Newnode listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Newnode 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
-
removeNewnodeListener
public void removeNewnodeListener(XPRSnewnodeListener listener) throws XPRSexception
Removes the given Newnode listener from the object.- Throws:
-
XPRSexception
-
removeNewnodeListener
public void removeNewnodeListener(XPRSnewnodeListener listener, java.lang.Object data) throws XPRSexception
Removes the given Newnode listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeNewnodeListener
public void removeNewnodeListener() throws XPRSexception
Removes all Newnode listeners from the object. @deprecated as of Xpress 7.1, please useremoveNewnodeListener(XPRSnewnodeListener)
orremoveNewnodeListeners()
- Throws:
-
XPRSexception
-
removeNewnodeListeners
public void removeNewnodeListeners() throws XPRSexception
Remove all listeners for the Newnode callback- Throws:
-
XPRSexception
-
addBarIterationListener
public void addBarIterationListener(XPRSbarIterationListener listener) throws XPRSexception
Add a listener for the BarIterationcallback. Note that an object can have multiple BarIteration listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BarIteration listeners will be removed.) - Throws:
-
XPRSexception
-
addBarIterationListener
public void addBarIterationListener(XPRSbarIterationListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the BarIterationcallback. Note that an object can have multiple BarIteration listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BarIteration listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addBarIterationListener
public void addBarIterationListener(XPRSbarIterationListener listener, int priority) throws XPRSexception
Add the listener for the BarIterationcallback. Note that an object can have multiple BarIteration listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BarIteration listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addBarIterationListener
public void addBarIterationListener(XPRSbarIterationListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the BarIterationcallback. Note that an object can have multiple BarIteration listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BarIteration 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
-
removeBarIterationListener
public void removeBarIterationListener(XPRSbarIterationListener listener) throws XPRSexception
Removes the given BarIteration listener from the object.- Throws:
-
XPRSexception
-
removeBarIterationListener
public void removeBarIterationListener(XPRSbarIterationListener listener, java.lang.Object data) throws XPRSexception
Removes the given BarIteration listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeBarIterationListener
public void removeBarIterationListener() throws XPRSexception
Removes all BarIteration listeners from the object. @deprecated as of Xpress 7.1, please useremoveBarIterationListener(XPRSbarIterationListener)
orremoveBarIterationListeners()
- Throws:
-
XPRSexception
-
removeBarIterationListeners
public void removeBarIterationListeners() throws XPRSexception
Remove all listeners for the BarIteration callback- Throws:
-
XPRSexception
-
addPresolveListener
public void addPresolveListener(XPRSpresolveListener listener) throws XPRSexception
Add a listener for the Presolvecallback. Note that an object can have multiple Presolve listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Presolve listeners will be removed.) - Throws:
-
XPRSexception
-
addPresolveListener
public void addPresolveListener(XPRSpresolveListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the Presolvecallback. Note that an object can have multiple Presolve listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Presolve listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addPresolveListener
public void addPresolveListener(XPRSpresolveListener listener, int priority) throws XPRSexception
Add the listener for the Presolvecallback. Note that an object can have multiple Presolve listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Presolve listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addPresolveListener
public void addPresolveListener(XPRSpresolveListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the Presolvecallback. Note that an object can have multiple Presolve listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all Presolve 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
-
removePresolveListener
public void removePresolveListener(XPRSpresolveListener listener) throws XPRSexception
Removes the given Presolve listener from the object.- Throws:
-
XPRSexception
-
removePresolveListener
public void removePresolveListener(XPRSpresolveListener listener, java.lang.Object data) throws XPRSexception
Removes the given Presolve listener with the given data value from the object.- Throws:
-
XPRSexception
-
removePresolveListener
public void removePresolveListener() throws XPRSexception
Removes all Presolve listeners from the object. @deprecated as of Xpress 7.1, please useremovePresolveListener(XPRSpresolveListener)
orremovePresolveListeners()
- Throws:
-
XPRSexception
-
removePresolveListeners
public void removePresolveListeners() throws XPRSexception
Remove all listeners for the Presolve callback- Throws:
-
XPRSexception
-
addChangeBranchObjectListener
public void addChangeBranchObjectListener(XPRSchangeBranchObjectListener listener) throws XPRSexception
Add a listener for the ChangeBranchObjectcallback. Note that an object can have multiple ChangeBranchObject listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChangeBranchObject listeners will be removed.) - Throws:
-
XPRSexception
-
addChangeBranchObjectListener
public void addChangeBranchObjectListener(XPRSchangeBranchObjectListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the ChangeBranchObjectcallback. Note that an object can have multiple ChangeBranchObject listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChangeBranchObject listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addChangeBranchObjectListener
public void addChangeBranchObjectListener(XPRSchangeBranchObjectListener listener, int priority) throws XPRSexception
Add the listener for the ChangeBranchObjectcallback. Note that an object can have multiple ChangeBranchObject listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChangeBranchObject listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addChangeBranchObjectListener
public void addChangeBranchObjectListener(XPRSchangeBranchObjectListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the ChangeBranchObjectcallback. Note that an object can have multiple ChangeBranchObject listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all ChangeBranchObject 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
-
removeChangeBranchObjectListener
public void removeChangeBranchObjectListener(XPRSchangeBranchObjectListener listener) throws XPRSexception
Removes the given ChangeBranchObject listener from the object.- Throws:
-
XPRSexception
-
removeChangeBranchObjectListener
public void removeChangeBranchObjectListener(XPRSchangeBranchObjectListener listener, java.lang.Object data) throws XPRSexception
Removes the given ChangeBranchObject listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeChangeBranchObjectListener
public void removeChangeBranchObjectListener() throws XPRSexception
Removes all ChangeBranchObject listeners from the object. @deprecated as of Xpress 7.1, please useremoveChangeBranchObjectListener(XPRSchangeBranchObjectListener)
orremoveChangeBranchObjectListeners()
- Throws:
-
XPRSexception
-
removeChangeBranchObjectListeners
public void removeChangeBranchObjectListeners() throws XPRSexception
Remove all listeners for the ChangeBranchObject callback- Throws:
-
XPRSexception
-
addGapNotifyListener
public void addGapNotifyListener(XPRSgapNotifyListener listener) throws XPRSexception
Add a listener for the GapNotifycallback. Note that an object can have multiple GapNotify listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all GapNotify listeners will be removed.) - Throws:
-
XPRSexception
-
addGapNotifyListener
public void addGapNotifyListener(XPRSgapNotifyListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the GapNotifycallback. Note that an object can have multiple GapNotify listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all GapNotify listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addGapNotifyListener
public void addGapNotifyListener(XPRSgapNotifyListener listener, int priority) throws XPRSexception
Add the listener for the GapNotifycallback. Note that an object can have multiple GapNotify listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all GapNotify listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addGapNotifyListener
public void addGapNotifyListener(XPRSgapNotifyListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the GapNotifycallback. Note that an object can have multiple GapNotify listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all GapNotify 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
-
removeGapNotifyListener
public void removeGapNotifyListener(XPRSgapNotifyListener listener) throws XPRSexception
Removes the given GapNotify listener from the object.- Throws:
-
XPRSexception
-
removeGapNotifyListener
public void removeGapNotifyListener(XPRSgapNotifyListener listener, java.lang.Object data) throws XPRSexception
Removes the given GapNotify listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeGapNotifyListener
public void removeGapNotifyListener() throws XPRSexception
Removes all GapNotify listeners from the object. @deprecated as of Xpress 7.1, please useremoveGapNotifyListener(XPRSgapNotifyListener)
orremoveGapNotifyListeners()
- Throws:
-
XPRSexception
-
removeGapNotifyListeners
public void removeGapNotifyListeners() throws XPRSexception
Remove all listeners for the GapNotify callback- Throws:
-
XPRSexception
-
addUserSolNotifyListener
public void addUserSolNotifyListener(XPRSuserSolNotifyListener listener) throws XPRSexception
Add a listener for the UserSolNotifycallback. Note that an object can have multiple UserSolNotify listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all UserSolNotify listeners will be removed.) - Throws:
-
XPRSexception
-
addUserSolNotifyListener
public void addUserSolNotifyListener(XPRSuserSolNotifyListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the UserSolNotifycallback. Note that an object can have multiple UserSolNotify listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all UserSolNotify listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addUserSolNotifyListener
public void addUserSolNotifyListener(XPRSuserSolNotifyListener listener, int priority) throws XPRSexception
Add the listener for the UserSolNotifycallback. Note that an object can have multiple UserSolNotify listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all UserSolNotify listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addUserSolNotifyListener
public void addUserSolNotifyListener(XPRSuserSolNotifyListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the UserSolNotifycallback. Note that an object can have multiple UserSolNotify listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all UserSolNotify 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
-
removeUserSolNotifyListener
public void removeUserSolNotifyListener(XPRSuserSolNotifyListener listener) throws XPRSexception
Removes the given UserSolNotify listener from the object.- Throws:
-
XPRSexception
-
removeUserSolNotifyListener
public void removeUserSolNotifyListener(XPRSuserSolNotifyListener listener, java.lang.Object data) throws XPRSexception
Removes the given UserSolNotify listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeUserSolNotifyListener
public void removeUserSolNotifyListener() throws XPRSexception
Removes all UserSolNotify listeners from the object. @deprecated as of Xpress 7.1, please useremoveUserSolNotifyListener(XPRSuserSolNotifyListener)
orremoveUserSolNotifyListeners()
- Throws:
-
XPRSexception
-
removeUserSolNotifyListeners
public void removeUserSolNotifyListeners() throws XPRSexception
Remove all listeners for the UserSolNotify callback- Throws:
-
XPRSexception
-
addBeforeSolveListener
public void addBeforeSolveListener(XPRSbeforeSolveListener listener) throws XPRSexception
Add a listener for the BeforeSolvecallback. Note that an object can have multiple BeforeSolve listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BeforeSolve listeners will be removed.) - Throws:
-
XPRSexception
-
addBeforeSolveListener
public void addBeforeSolveListener(XPRSbeforeSolveListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the BeforeSolvecallback. Note that an object can have multiple BeforeSolve listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BeforeSolve listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addBeforeSolveListener
public void addBeforeSolveListener(XPRSbeforeSolveListener listener, int priority) throws XPRSexception
Add the listener for the BeforeSolvecallback. Note that an object can have multiple BeforeSolve listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BeforeSolve listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addBeforeSolveListener
public void addBeforeSolveListener(XPRSbeforeSolveListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the BeforeSolvecallback. Note that an object can have multiple BeforeSolve listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all BeforeSolve 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
-
removeBeforeSolveListener
public void removeBeforeSolveListener(XPRSbeforeSolveListener listener) throws XPRSexception
Removes the given BeforeSolve listener from the object.- Throws:
-
XPRSexception
-
removeBeforeSolveListener
public void removeBeforeSolveListener(XPRSbeforeSolveListener listener, java.lang.Object data) throws XPRSexception
Removes the given BeforeSolve listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeBeforeSolveListener
public void removeBeforeSolveListener() throws XPRSexception
Removes all BeforeSolve listeners from the object. @deprecated as of Xpress 7.1, please useremoveBeforeSolveListener(XPRSbeforeSolveListener)
orremoveBeforeSolveListeners()
- Throws:
-
XPRSexception
-
removeBeforeSolveListeners
public void removeBeforeSolveListeners() throws XPRSexception
Remove all listeners for the BeforeSolve callback- Throws:
-
XPRSexception
-
addCheckTimeListener
public void addCheckTimeListener(XPRScheckTimeListener listener) throws XPRSexception
Add a listener for the CheckTimecallback. Note that an object can have multiple CheckTime listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CheckTime listeners will be removed.) - Throws:
-
XPRSexception
-
addCheckTimeListener
public void addCheckTimeListener(XPRScheckTimeListener listener, java.lang.Object data) throws XPRSexception
Add the listener for the CheckTimecallback. Note that an object can have multiple CheckTime listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CheckTime listeners will be removed.) -
data
- An additional object which will be passed down to the callback function - Throws:
-
XPRSexception
-
addCheckTimeListener
public void addCheckTimeListener(XPRScheckTimeListener listener, int priority) throws XPRSexception
Add the listener for the CheckTimecallback. Note that an object can have multiple CheckTime listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CheckTime listeners will be removed.) -
priority
- Listeners with higher priorities are called first - Throws:
-
XPRSexception
-
addCheckTimeListener
public void addCheckTimeListener(XPRScheckTimeListener listener, java.lang.Object data, int priority) throws XPRSexception
Add the listener for the CheckTimecallback. Note that an object can have multiple CheckTime listeners.- Parameters:
-
listener
- The listener to which the event will be dispatched. (If null, all CheckTime 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
-
removeCheckTimeListener
public void removeCheckTimeListener(XPRScheckTimeListener listener) throws XPRSexception
Removes the given CheckTime listener from the object.- Throws:
-
XPRSexception
-
removeCheckTimeListener
public void removeCheckTimeListener(XPRScheckTimeListener listener, java.lang.Object data) throws XPRSexception
Removes the given CheckTime listener with the given data value from the object.- Throws:
-
XPRSexception
-
removeCheckTimeListener
public void removeCheckTimeListener() throws XPRSexception
Removes all CheckTime listeners from the object. @deprecated as of Xpress 7.1, please useremoveCheckTimeListener(XPRScheckTimeListener)
orremoveCheckTimeListeners()
- Throws:
-
XPRSexception
-
removeCheckTimeListeners
public void removeCheckTimeListeners() throws XPRSexception
Remove all listeners for the CheckTime callback- Throws:
-
XPRSexception
-
addMsgHandlerListener
public void addMsgHandlerListener(XPRSmsgHandlerListener listener) throws XPRSexception
Add a listener for the MsgHandlercallback. Note that an object can have multiple MsgHandler listeners.- Specified by:
-
addMsgHandlerListener
in 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
Add the listener for the MsgHandlercallback. Note that an object can have multiple MsgHandler listeners.- Specified by:
-
addMsgHandlerListener
in 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
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
-
addMsgHandlerListener
public 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
-
removeMsgHandlerListener
public void removeMsgHandlerListener(XPRSmsgHandlerListener listener) throws XPRSexception
Removes the given MsgHandler listener from the object.- Throws:
-
XPRSexception
-
removeMsgHandlerListener
public 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
-
removeMsgHandlerListener
public void removeMsgHandlerListener() throws XPRSexception
Removes all MsgHandler listeners from the object. @deprecated as of Xpress 7.1, please useremoveMsgHandlerListener(XPRSmsgHandlerListener)
orremoveMsgHandlerListeners()
- Specified by:
-
removeMsgHandlerListener
in classXPRSobject
- Throws:
-
XPRSexception
-
removeMsgHandlerListeners
public void removeMsgHandlerListeners() throws XPRSexception
Remove all listeners for the MsgHandler callback- Throws:
-
XPRSexception
-
attributes
public XPRSprob.Attributes attributes()
-
controls
public XPRSprob.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.