XPRSprob.Attributes
- java.lang.Object
-
- com.dashoptimization.XPRSprob.Attributes
-
- Enclosing class:
- XPRSprob
public final class XPRSprob.Attributes extends java.lang.Object
Class to access attributes. Instances of this class provide a convenient way to access the attributes of aXPRSprob
instance. The methods in this class are convenience wrappers for the variousgetXXXAttrib
functions in classXPRSprob
.
-
-
Method Summary
Modifier and Type Method Description int
getActiveNodes()
Retrieves the value of the attributeXPRSconstants.ACTIVENODES
.int
getAlgorithm()
Retrieves the value of the attributeXPRSconstants.ALGORITHM
.double
getAttentionLevel()
Retrieves the value of the attributeXPRSconstants.ATTENTIONLEVEL
.long
getAvailableMemory()
Retrieves the value of the attributeXPRSconstants.AVAILABLEMEMORY
.long
getBarAASize()
Retrieves the value of the attributeXPRSconstants.BARAASIZE
.double
getBarCGap()
Retrieves the value of the attributeXPRSconstants.BARCGAP
.double
getBarCondA()
Retrieves the value of the attributeXPRSconstants.BARCONDA
.double
getBarCondD()
Retrieves the value of the attributeXPRSconstants.BARCONDD
.int
getBarCrossover()
Retrieves the value of the attributeXPRSconstants.BARCROSSOVER
.int
getBarDenseCol()
Retrieves the value of the attributeXPRSconstants.BARDENSECOL
.double
getBarDualInf()
Retrieves the value of the attributeXPRSconstants.BARDUALINF
.double
getBarDualObj()
Retrieves the value of the attributeXPRSconstants.BARDUALOBJ
.int
getBarIter()
Retrieves the value of the attributeXPRSconstants.BARITER
.long
getBarLSize()
Retrieves the value of the attributeXPRSconstants.BARLSIZE
.double
getBarPrimalInf()
Retrieves the value of the attributeXPRSconstants.BARPRIMALINF
.double
getBarPrimalObj()
Retrieves the value of the attributeXPRSconstants.BARPRIMALOBJ
.int
getBarSing()
Retrieves the value of the attributeXPRSconstants.BARSING
.int
getBarSingR()
Retrieves the value of the attributeXPRSconstants.BARSINGR
.double
getBestBound()
Retrieves the value of the attributeXPRSconstants.BESTBOUND
.java.lang.String
getBoundName()
Retrieves the value of the attributeXPRSconstants.BOUNDNAME
.double
getBranchValue()
Retrieves the value of the attributeXPRSconstants.BRANCHVALUE
.int
getBranchVar()
Retrieves the value of the attributeXPRSconstants.BRANCHVAR
.int
getCallbackCount_CutMgr()
Retrieves the value of the attributeXPRSconstants.CALLBACKCOUNT_CUTMGR
.int
getCallbackCount_OptNode()
Retrieves the value of the attributeXPRSconstants.CALLBACKCOUNT_OPTNODE
.int
getChecksOnMaxCutTime()
Retrieves the value of the attributeXPRSconstants.CHECKSONMAXCUTTIME
.int
getChecksOnMaxTime()
Retrieves the value of the attributeXPRSconstants.CHECKSONMAXTIME
.int
getCols()
Retrieves the value of the attributeXPRSconstants.COLS
.int
getComputeExecutions()
Retrieves the value of the attributeXPRSconstants.COMPUTEEXECUTIONS
.int
getConeElems()
Retrieves the value of the attributeXPRSconstants.CONEELEMS
.int
getCones()
Retrieves the value of the attributeXPRSconstants.CONES
.int
getCoresDetected()
Retrieves the value of the attributeXPRSconstants.CORESDETECTED
.int
getCoresPerCPUDetected()
Retrieves the value of the attributeXPRSconstants.CORESPERCPUDETECTED
.double
getCpiScaleFactor()
Retrieves the value of the attributeXPRSconstants.CPISCALEFACTOR
.int
getCPUsDetected()
Retrieves the value of the attributeXPRSconstants.CPUSDETECTED
.int
getCrossoverIter()
Retrieves the value of the attributeXPRSconstants.CROSSOVERITER
.long
getCurrentMemory()
Retrieves the value of the attributeXPRSconstants.CURRENTMEMORY
.int
getCurrentNode()
Retrieves the value of the attributeXPRSconstants.CURRENTNODE
.double
getCurrMipCutOff()
Retrieves the value of the attributeXPRSconstants.CURRMIPCUTOFF
.int
getCuts()
Retrieves the value of the attributeXPRSconstants.CUTS
.int
getDualInfeas()
Retrieves the value of the attributeXPRSconstants.DUALINFEAS
.long
getElems()
Retrieves the value of the attributeXPRSconstants.ELEMS
.int
getErrorCode()
Retrieves the value of the attributeXPRSconstants.ERRORCODE
.long
getGenConCols()
Retrieves the value of the attributeXPRSconstants.GENCONCOLS
.int
getGenCons()
Retrieves the value of the attributeXPRSconstants.GENCONS
.long
getGenConVals()
Retrieves the value of the attributeXPRSconstants.GENCONVALS
.int
getGlobalBoundingboxApplied()
Retrieves the value of the attributeXPRSconstants.GLOBALBOUNDINGBOXAPPLIED
.int
getGlobalNLPInfeas()
Retrieves the value of the attributeXPRSconstants.GLOBALNLPINFEAS
.XPRSenumerations.IISSolStatus
getIISSolStatus()
Retrieves the value of the attributeXPRSconstants.IISSOLSTATUS
.int
getIndicators()
Retrieves the value of the attributeXPRSconstants.INDICATORS
.int
getInputCols()
Retrieves the value of the attributeXPRSconstants.INPUTCOLS
.int
getInputRows()
Retrieves the value of the attributeXPRSconstants.INPUTROWS
.int
getLocalSolverSelected()
Retrieves the value of the attributeXPRSconstants.LOCALSOLVERSELECTED
.double
getLPObjVal()
Retrieves the value of the attributeXPRSconstants.LPOBJVAL
.XPRSenumerations.LPStatus
getLPStatus()
Retrieves the value of the attributeXPRSconstants.LPSTATUS
.java.lang.String
getMatrixName()
Retrieves the value of the attributeXPRSconstants.MATRIXNAME
.double
getMaxAbsDualInfeas()
Retrieves the value of the attributeXPRSconstants.MAXABSDUALINFEAS
.double
getMaxAbsPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.MAXABSPRIMALINFEAS
.double
getMaxKappa()
Retrieves the value of the attributeXPRSconstants.MAXKAPPA
.double
getMaxMipInfeas()
Retrieves the value of the attributeXPRSconstants.MAXMIPINFEAS
.int
getMaxProbNameLength()
Retrieves the value of the attributeXPRSconstants.MAXPROBNAMELENGTH
.double
getMaxRelDualInfeas()
Retrieves the value of the attributeXPRSconstants.MAXRELDUALINFEAS
.double
getMaxRelPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.MAXRELPRIMALINFEAS
.long
getMemoryLimitDetected()
Retrieves the value of the attributeXPRSconstants.MEMORYLIMITDETECTED
.double
getMIPBestObjVal()
Retrieves the value of the attributeXPRSconstants.MIPBESTOBJVAL
.int
getMIPEnts()
Retrieves the value of the attributeXPRSconstants.MIPENTS
.int
getMIPInfeas()
Retrieves the value of the attributeXPRSconstants.MIPINFEAS
.double
getMIPObjVal()
Retrieves the value of the attributeXPRSconstants.MIPOBJVAL
.int
getMIPSolNode()
Retrieves the value of the attributeXPRSconstants.MIPSOLNODE
.int
getMIPSols()
Retrieves the value of the attributeXPRSconstants.MIPSOLS
.double
getMIPSolTime()
Retrieves the value of the attributeXPRSconstants.MIPSOLTIME
.XPRSenumerations.MIPStatus
getMIPStatus()
Retrieves the value of the attributeXPRSconstants.MIPSTATUS
.int
getMIPThreadID()
Retrieves the value of the attributeXPRSconstants.MIPTHREADID
.int
getNameLength()
Retrieves the value of the attributeXPRSconstants.NAMELENGTH
.int
getNlpEqualsColumn()
Retrieves the value of the attributeXPRSconstants.NLPEQUALSCOLUMN
.int
getNlpIfs()
Retrieves the value of the attributeXPRSconstants.NLPIFS
.int
getNlpImplicitVariables()
Retrieves the value of the attributeXPRSconstants.NLPIMPLICITVARIABLES
.int
getNlpJobID()
Retrieves the value of the attributeXPRSconstants.NLPJOBID
.int
getNlpKeepBestIter()
Retrieves the value of the attributeXPRSconstants.NLPKEEPBESTITER
.int
getNlpModelCols()
Retrieves the value of the attributeXPRSconstants.NLPMODELCOLS
.int
getNlpModelRows()
Retrieves the value of the attributeXPRSconstants.NLPMODELROWS
.double
getNlpObjVal()
Retrieves the value of the attributeXPRSconstants.NLPOBJVAL
.double
getNlpOptTime()
Retrieves the value of the attributeXPRSconstants.NLPOPTTIME
.int
getNlpOriginalCols()
Retrieves the value of the attributeXPRSconstants.NLPORIGINALCOLS
.int
getNlpOriginalRows()
Retrieves the value of the attributeXPRSconstants.NLPORIGINALROWS
.int
getNlpPresolveEliminations()
Retrieves the value of the attributeXPRSconstants.NLPPRESOLVEELIMINATIONS
.int
getNlpStatus()
Retrieves the value of the attributeXPRSconstants.NLPSTATUS
.int
getNlpStopStatus()
Retrieves the value of the attributeXPRSconstants.NLPSTOPSTATUS
.int
getNlpUFs()
Retrieves the value of the attributeXPRSconstants.NLPUFS
.int
getNlpUseDerivatives()
Retrieves the value of the attributeXPRSconstants.NLPUSEDERIVATIVES
.int
getNlpUserFuncCalls()
Retrieves the value of the attributeXPRSconstants.NLPUSERFUNCCALLS
.double
getNlpValidationIndex_A()
Retrieves the value of the attributeXPRSconstants.NLPVALIDATIONINDEX_A
.double
getNlpValidationIndex_K()
Retrieves the value of the attributeXPRSconstants.NLPVALIDATIONINDEX_K
.double
getNlpValidationIndex_R()
Retrieves the value of the attributeXPRSconstants.NLPVALIDATIONINDEX_R
.int
getNlpVariables()
Retrieves the value of the attributeXPRSconstants.NLPVARIABLES
.int
getNodeDepth()
Retrieves the value of the attributeXPRSconstants.NODEDEPTH
.int
getNodes()
Retrieves the value of the attributeXPRSconstants.NODES
.int
getNonLinearConstraints()
Retrieves the value of the attributeXPRSconstants.NONLINEARCONSTRAINTS
.int
getNumIIS()
Retrieves the value of the attributeXPRSconstants.NUMIIS
.int
getObjectives()
Retrieves the value of the attributeXPRSconstants.OBJECTIVES
.java.lang.String
getObjName()
Deprecated.since 41.00double
getObjRHS()
Retrieves the value of the attributeXPRSconstants.OBJRHS
.double
getOBJSense()
Retrieves the value of the attributeXPRSconstants.OBJSENSE
.int
getObjsToSolve()
Retrieves the value of the attributeXPRSconstants.OBJSTOSOLVE
.double
getObjVal()
Retrieves the value of the attributeXPRSconstants.OBJVAL
.double
getObservedPrimalIntegral()
Retrieves the value of the attributeXPRSconstants.OBSERVEDPRIMALINTEGRAL
.XPRSenumerations.OptimizeType
getOptimizeTypeUsed()
Retrieves the value of the attributeXPRSconstants.OPTIMIZETYPEUSED
.int
getOriginalCols()
Retrieves the value of the attributeXPRSconstants.ORIGINALCOLS
.long
getOriginalGenconCols()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONCOLS
.int
getOriginalGencons()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONS
.long
getOriginalGenconVals()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONVALS
.int
getOriginalIndicators()
Retrieves the value of the attributeXPRSconstants.ORIGINALINDICATORS
.int
getOriginalMIPEnts()
Retrieves the value of the attributeXPRSconstants.ORIGINALMIPENTS
.long
getOriginalPwlpoints()
Retrieves the value of the attributeXPRSconstants.ORIGINALPWLPOINTS
.int
getOriginalPwls()
Retrieves the value of the attributeXPRSconstants.ORIGINALPWLS
.int
getOriginalQCElems()
Retrieves the value of the attributeXPRSconstants.ORIGINALQCELEMS
.int
getOriginalQConstraints()
Retrieves the value of the attributeXPRSconstants.ORIGINALQCONSTRAINTS
.int
getOriginalQElems()
Retrieves the value of the attributeXPRSconstants.ORIGINALQELEMS
.int
getOriginalRows()
Retrieves the value of the attributeXPRSconstants.ORIGINALROWS
.long
getOriginalSetMembers()
Retrieves the value of the attributeXPRSconstants.ORIGINALSETMEMBERS
.int
getOriginalSets()
Retrieves the value of the attributeXPRSconstants.ORIGINALSETS
.int
getParentNode()
Retrieves the value of the attributeXPRSconstants.PARENTNODE
.long
getPeakMemory()
Retrieves the value of the attributeXPRSconstants.PEAKMEMORY
.int
getPeakTotalTreeMemoryUsage()
Retrieves the value of the attributeXPRSconstants.PEAKTOTALTREEMEMORYUSAGE
.double
getPenaltyValue()
Retrieves the value of the attributeXPRSconstants.PENALTYVALUE
.int
getPhysicalCoresDetected()
Retrieves the value of the attributeXPRSconstants.PHYSICALCORESDETECTED
.int
getPhysicalCoresPerCPUDetected()
Retrieves the value of the attributeXPRSconstants.PHYSICALCORESPERCPUDETECTED
.double
getPredictedAttLevel()
Retrieves the value of the attributeXPRSconstants.PREDICTEDATTLEVEL
.int
getPresolveIndex()
Retrieves the value of the attributeXPRSconstants.PRESOLVEINDEX
.int
getPresolveState()
Retrieves the value of the attributeXPRSconstants.PRESOLVESTATE
.double
getPrimalDualIntegral()
Retrieves the value of the attributeXPRSconstants.PRIMALDUALINTEGRAL
.int
getPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.PRIMALINFEAS
.int
getPwlCons()
Retrieves the value of the attributeXPRSconstants.PWLCONS
.long
getPwlPoints()
Retrieves the value of the attributeXPRSconstants.PWLPOINTS
.int
getQCElems()
Retrieves the value of the attributeXPRSconstants.QCELEMS
.int
getQConstraints()
Retrieves the value of the attributeXPRSconstants.QCONSTRAINTS
.int
getQElems()
Retrieves the value of the attributeXPRSconstants.QELEMS
.java.lang.String
getRangeName()
Retrieves the value of the attributeXPRSconstants.RANGENAME
.int
getRestarts()
Retrieves the value of the attributeXPRSconstants.RESTARTS
.java.lang.String
getRHSName()
Retrieves the value of the attributeXPRSconstants.RHSNAME
.int
getRows()
Retrieves the value of the attributeXPRSconstants.ROWS
.long
getSetMembers()
Retrieves the value of the attributeXPRSconstants.SETMEMBERS
.int
getSets()
Retrieves the value of the attributeXPRSconstants.SETS
.int
getSimplexIter()
Retrieves the value of the attributeXPRSconstants.SIMPLEXITER
.int
getSlpCoefficients()
Retrieves the value of the attributeXPRSconstants.SLPCOEFFICIENTS
.double
getSlpCurrentDeltaCost()
Retrieves the value of the attributeXPRSconstants.SLPCURRENTDELTACOST
.double
getSlpCurrentErrorCost()
Retrieves the value of the attributeXPRSconstants.SLPCURRENTERRORCOST
.int
getSlpDeltas()
Retrieves the value of the attributeXPRSconstants.SLPDELTAS
.int
getSlpECFCount()
Retrieves the value of the attributeXPRSconstants.SLPECFCOUNT
.double
getSlpErrorCosts()
Retrieves the value of the attributeXPRSconstants.SLPERRORCOSTS
.int
getSlpIter()
Retrieves the value of the attributeXPRSconstants.SLPITER
.int
getSlpMinusPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPMINUSPENALTYERRORS
.int
getSlpMipIter()
Retrieves the value of the attributeXPRSconstants.SLPMIPITER
.int
getSlpMipNodes()
Retrieves the value of the attributeXPRSconstants.SLPMIPNODES
.int
getSlpMipSols()
Retrieves the value of the attributeXPRSconstants.SLPMIPSOLS
.int
getSlpNonConstantCoeffs()
Retrieves the value of the attributeXPRSconstants.SLPNONCONSTANTCOEFFS
.int
getSlpPenaltyDeltaColumn()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTACOLUMN
.int
getSlpPenaltyDeltaRow()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAROW
.int
getSlpPenaltyDeltas()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAS
.double
getSlpPenaltyDeltaTotal()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTATOTAL
.double
getSlpPenaltyDeltaValue()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAVALUE
.int
getSlpPenaltyErrorColumn()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORCOLUMN
.int
getSlpPenaltyErrorRow()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORROW
.int
getSlpPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORS
.double
getSlpPenaltyErrorTotal()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORTOTAL
.double
getSlpPenaltyErrorValue()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORVALUE
.int
getSlpPlusPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPPLUSPENALTYERRORS
.int
getSlpSbxConverged()
Retrieves the value of the attributeXPRSconstants.SLPSBXCONVERGED
.int
getSlpStatus()
Retrieves the value of the attributeXPRSconstants.SLPSTATUS
.int
getSlpTolSets()
Retrieves the value of the attributeXPRSconstants.SLPTOLSETS
.int
getSlpUCConstrainedCount()
Retrieves the value of the attributeXPRSconstants.SLPUCCONSTRAINEDCOUNT
.int
getSlpUnConverged()
Retrieves the value of the attributeXPRSconstants.SLPUNCONVERGED
.int
getSlpZeroesReset()
Retrieves the value of the attributeXPRSconstants.SLPZEROESRESET
.int
getSlpZeroesRetained()
Retrieves the value of the attributeXPRSconstants.SLPZEROESRETAINED
.int
getSlpZeroesTotal()
Retrieves the value of the attributeXPRSconstants.SLPZEROESTOTAL
.XPRSenumerations.SolStatus
getSolStatus()
Retrieves the value of the attributeXPRSconstants.SOLSTATUS
.int
getSolvedObjs()
Retrieves the value of the attributeXPRSconstants.SOLVEDOBJS
.XPRSenumerations.SolveStatus
getSolveStatus()
Retrieves the value of the attributeXPRSconstants.SOLVESTATUS
.int
getSpareCols()
Retrieves the value of the attributeXPRSconstants.SPARECOLS
.long
getSpareElems()
Retrieves the value of the attributeXPRSconstants.SPAREELEMS
.int
getSpareMIPEnts()
Retrieves the value of the attributeXPRSconstants.SPAREMIPENTS
.int
getSpareRows()
Retrieves the value of the attributeXPRSconstants.SPAREROWS
.long
getSpareSetElems()
Retrieves the value of the attributeXPRSconstants.SPARESETELEMS
.int
getSpareSets()
Retrieves the value of the attributeXPRSconstants.SPARESETS
.int
getStopStatus()
Retrieves the value of the attributeXPRSconstants.STOPSTATUS
.double
getSumPrimalInf()
Retrieves the value of the attributeXPRSconstants.SUMPRIMALINF
.long
getSystemMemory()
Retrieves the value of the attributeXPRSconstants.SYSTEMMEMORY
.double
getTime()
Retrieves the value of the attributeXPRSconstants.TIME
.long
getTotalMemory()
Retrieves the value of the attributeXPRSconstants.TOTALMEMORY
.double
getTreeCompletion()
Retrieves the value of the attributeXPRSconstants.TREECOMPLETION
.int
getTreeFileSize()
Retrieves the value of the attributeXPRSconstants.TREEFILESIZE
.int
getTreeFileUsage()
Retrieves the value of the attributeXPRSconstants.TREEFILEUSAGE
.int
getTreeMemoryUsage()
Retrieves the value of the attributeXPRSconstants.TREEMEMORYUSAGE
.int
getTreeRestarts()
Retrieves the value of the attributeXPRSconstants.TREERESTARTS
.java.lang.String
getUUID()
Retrieves the value of the attributeXPRSconstants.UUID
.java.lang.String
getXpressVersion()
Retrieves the value of the attributeXPRSconstants.XPRESSVERSION
.
-
-
-
Method Detail
-
getRows
public int getRows()
Retrieves the value of the attributeXPRSconstants.ROWS
. Number of rows (i.e. constraints) in the matrix.This attribute is used in the following examples:
- GlobalObjectiveParametrics
- GlobalRHSParametrics
- LoadLP
- Repair
- Tableau
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.ROWS
.
-
getSets
public int getSets()
Retrieves the value of the attributeXPRSconstants.SETS
. Number of special ordered sets in the matrix.This attribute is used in the following examples:
- Repair
- Returns:
-
Value of attribute
XPRSconstants.SETS
.
-
getSetMembers
public long getSetMembers()
Retrieves the value of the attributeXPRSconstants.SETMEMBERS
. Number of variables within special ordered sets (set members) in the matrix.- Returns:
-
Value of attribute
XPRSconstants.SETMEMBERS
.
-
getElems
public long getElems()
Retrieves the value of the attributeXPRSconstants.ELEMS
. Number of matrix nonzeros (elements).- Returns:
-
Value of attribute
XPRSconstants.ELEMS
.
-
getPrimalInfeas
public int getPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.PRIMALINFEAS
. Number of primal infeasibilities.- Returns:
-
Value of attribute
XPRSconstants.PRIMALINFEAS
.
-
getDualInfeas
public int getDualInfeas()
Retrieves the value of the attributeXPRSconstants.DUALINFEAS
. Number of dual infeasibilities.- Returns:
-
Value of attribute
XPRSconstants.DUALINFEAS
.
-
getSimplexIter
public int getSimplexIter()
Retrieves the value of the attributeXPRSconstants.SIMPLEXITER
. Number of simplex iterations performed.This attribute is used in the following examples:
- Tableau
- Returns:
-
Value of attribute
XPRSconstants.SIMPLEXITER
.
-
getLPStatus
public XPRSenumerations.LPStatus getLPStatus()
Retrieves the value of the attributeXPRSconstants.LPSTATUS
. LP solution status. (Values are from the enumerationXPRSenumerations.LPStatus
)This attribute is used in the following examples:
- Knapsack
- Returns:
-
Value of attribute
XPRSconstants.LPSTATUS
.
-
getMIPStatus
public XPRSenumerations.MIPStatus getMIPStatus()
Retrieves the value of the attributeXPRSconstants.MIPSTATUS
. (MIP) solution status. (Values are from the enumerationXPRSenumerations.MIPStatus
)This attribute is used in the following examples:
- FixBV
- GlobalRHSParametrics
- SaveSol
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.MIPSTATUS
.
-
getCuts
public int getCuts()
Retrieves the value of the attributeXPRSconstants.CUTS
. Number of cuts being added to the matrix.- Returns:
-
Value of attribute
XPRSconstants.CUTS
.
-
getNodes
public int getNodes()
Retrieves the value of the attributeXPRSconstants.NODES
. Number of nodes solved so far in the MIP search. A node is counted as solved when it is either dropped or branched on.This attribute is used in the following examples:
- FixBV
- SaveSol
- Returns:
-
Value of attribute
XPRSconstants.NODES
.
-
getNodeDepth
public int getNodeDepth()
Retrieves the value of the attributeXPRSconstants.NODEDEPTH
. Depth of the current node.- Returns:
-
Value of attribute
XPRSconstants.NODEDEPTH
.
-
getActiveNodes
public int getActiveNodes()
Retrieves the value of the attributeXPRSconstants.ACTIVENODES
. Number of outstanding nodes.This attribute is used in the following examples:
- SaveSol
- Returns:
-
Value of attribute
XPRSconstants.ACTIVENODES
.
-
getMIPSolNode
public int getMIPSolNode()
Retrieves the value of the attributeXPRSconstants.MIPSOLNODE
. Node at which the last integer feasible solution was found.This attribute is used in the following examples:
- SaveSol
- Returns:
-
Value of attribute
XPRSconstants.MIPSOLNODE
.
-
getMIPSols
public int getMIPSols()
Retrieves the value of the attributeXPRSconstants.MIPSOLS
. Number of integer solutions that have been found.This attribute is used in the following examples:
- AddMipSol
- SaveSol
- Returns:
-
Value of attribute
XPRSconstants.MIPSOLS
.
-
getCols
public int getCols()
Retrieves the value of the attributeXPRSconstants.COLS
. Number of columns (i.e. variables) in the matrix.This attribute is used in the following examples:
- AddMipSol
- GlobalObjectiveParametrics
- GlobalRHSParametrics
- Knapsack
- MipSolEnum
- MostViolated
- Repair
- RoundInt
- Tableau
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.COLS
.
-
getSpareRows
public int getSpareRows()
Retrieves the value of the attributeXPRSconstants.SPAREROWS
. Number of spare rows in the matrix.This attribute is used in the following examples:
- Tableau
- Returns:
-
Value of attribute
XPRSconstants.SPAREROWS
.
-
getSpareCols
public int getSpareCols()
Retrieves the value of the attributeXPRSconstants.SPARECOLS
. Number of spare columns in the matrix.- Returns:
-
Value of attribute
XPRSconstants.SPARECOLS
.
-
getSpareElems
public long getSpareElems()
Retrieves the value of the attributeXPRSconstants.SPAREELEMS
. Number of spare matrix elements in the matrix.- Returns:
-
Value of attribute
XPRSconstants.SPAREELEMS
.
-
getSpareMIPEnts
public int getSpareMIPEnts()
Retrieves the value of the attributeXPRSconstants.SPAREMIPENTS
. Number of spare MIP entities in the matrix.- Returns:
-
Value of attribute
XPRSconstants.SPAREMIPENTS
.
-
getErrorCode
public int getErrorCode()
Retrieves the value of the attributeXPRSconstants.ERRORCODE
. The most recent Optimizer error number that occurred. This is useful to determine the precise error or warning that has occurred, after an Optimizer function has signalled an error by returning a non-zero value. The return value itself is not the error number. Refer to the section for a list of possible error numbers, the errors and warnings that they indicate, and advice on what they mean and how to resolve them. A short error message may be obtained usinggetLastError
, and all messages may be intercepted using the user output callback function; seeaddCbMessage
.- Returns:
-
Value of attribute
XPRSconstants.ERRORCODE
.
-
getMIPInfeas
public int getMIPInfeas()
Retrieves the value of the attributeXPRSconstants.MIPINFEAS
. Number of integer infeasibilities, including violations of special ordered sets, at the current node.This attribute is used in the following examples:
- AddMipSol
- Knapsack
- Returns:
-
Value of attribute
XPRSconstants.MIPINFEAS
.
-
getPresolveState
public int getPresolveState()
Retrieves the value of the attributeXPRSconstants.PRESOLVESTATE
. Problem status as a bit map. (Values are from the enumerationXPRSenumerations.PresolveState
)- Returns:
-
Value of attribute
XPRSconstants.PRESOLVESTATE
.
-
getParentNode
public int getParentNode()
Retrieves the value of the attributeXPRSconstants.PARENTNODE
. The parent node of the current node in the tree search.- Returns:
-
Value of attribute
XPRSconstants.PARENTNODE
.
-
getNameLength
public int getNameLength()
Retrieves the value of the attributeXPRSconstants.NAMELENGTH
. The length (in 8 character units) of row and column names in the matrix. To allocate a character array to store names, you must allow8*NAMELENGTH+1
characters per name (the+1
allows for the string terminator character).- Returns:
-
Value of attribute
XPRSconstants.NAMELENGTH
.
-
getQElems
public int getQElems()
Retrieves the value of the attributeXPRSconstants.QELEMS
. Number of quadratic non-zeros in the objective.- Returns:
-
Value of attribute
XPRSconstants.QELEMS
.
-
getNumIIS
public int getNumIIS()
Retrieves the value of the attributeXPRSconstants.NUMIIS
. Number of IISs found. You should first query theIISSOLSTATUS
attribute to make sure that the IIS procedure terminated successfully.- Returns:
-
Value of attribute
XPRSconstants.NUMIIS
.
-
getMIPEnts
public int getMIPEnts()
Retrieves the value of the attributeXPRSconstants.MIPENTS
. Number of MIP entities (i.e. binary, integer, semi-continuous, partial integer, and semi-continuous integer variables) but excluding the number of special ordered sets.This attribute is used in the following examples:
- AddMipSol
- FixBV
- Repair
- Returns:
-
Value of attribute
XPRSconstants.MIPENTS
.
-
getBranchVar
public int getBranchVar()
Retrieves the value of the attributeXPRSconstants.BRANCHVAR
. The branching variable at a node of the Branch and Bound tree.- Returns:
-
Value of attribute
XPRSconstants.BRANCHVAR
.
-
getMIPThreadID
public int getMIPThreadID()
Retrieves the value of the attributeXPRSconstants.MIPTHREADID
. The ID for the MIP thread.This attribute is used in the following examples:
- MostViolated
- Returns:
-
Value of attribute
XPRSconstants.MIPTHREADID
.
-
getAlgorithm
public int getAlgorithm()
Retrieves the value of the attributeXPRSconstants.ALGORITHM
. The algorithm the optimizer currently is running / was running just before completition.- Returns:
-
Value of attribute
XPRSconstants.ALGORITHM
.
-
getCrossoverIter
public int getCrossoverIter()
Retrieves the value of the attributeXPRSconstants.CROSSOVERITER
. Number of simplex iterations performed in crossover.- Returns:
-
Value of attribute
XPRSconstants.CROSSOVERITER
.
-
getSolStatus
public XPRSenumerations.SolStatus getSolStatus()
Retrieves the value of the attributeXPRSconstants.SOLSTATUS
. Status of the solution of the last problem solved with optimize. (Values are from the enumerationXPRSenumerations.SolStatus
)This attribute is used in the following examples:
- AddMipSol
- FixBV
- GlobalObjectiveParametrics
- GlobalRHSParametrics
- GoalProg
- Knapsack
- LoadLP
- MipSolEnum
- MipSolPool
- MostViolated
- SaveSol
- TSP
- Tableau
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.SOLSTATUS
.
-
getOriginalRows
public int getOriginalRows()
Retrieves the value of the attributeXPRSconstants.ORIGINALROWS
. Number of rows (i.e. constraints) in the original matrix before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALROWS
.
-
getCallbackCount_OptNode
public int getCallbackCount_OptNode()
Retrieves the value of the attributeXPRSconstants.CALLBACKCOUNT_OPTNODE
. This attribute counts the number of times the optimal node callback set byaddCbOptnode
has been called for the current node, including the current callback call. The value of this attribute should only be used from within the optimal node callback.This attribute is used in the following examples:
- AddMipSol
- Returns:
-
Value of attribute
XPRSconstants.CALLBACKCOUNT_OPTNODE
.
-
getCallbackCount_CutMgr
public int getCallbackCount_CutMgr()
Retrieves the value of the attributeXPRSconstants.CALLBACKCOUNT_CUTMGR
. This attribute counts the number of times the cut manager callback set byaddCbCutmgr
has been called for the current node, including the current callback call. The value of this attribute should only be used from within the cut manager callback.- Returns:
-
Value of attribute
XPRSconstants.CALLBACKCOUNT_CUTMGR
.
-
getSystemMemory
public long getSystemMemory()
Retrieves the value of the attributeXPRSconstants.SYSTEMMEMORY
. The amount of non problem specific memory used by the solver.- Returns:
-
Value of attribute
XPRSconstants.SYSTEMMEMORY
.
-
getOriginalQElems
public int getOriginalQElems()
Retrieves the value of the attributeXPRSconstants.ORIGINALQELEMS
. Number of quadratic non-zeros in the original objective before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALQELEMS
.
-
getMaxProbNameLength
public int getMaxProbNameLength()
Retrieves the value of the attributeXPRSconstants.MAXPROBNAMELENGTH
. Maximum size of the problem name and also the maximum allowed length of the file or path string for any function that accepts such an argument (not including the null terminator).- Returns:
-
Value of attribute
XPRSconstants.MAXPROBNAMELENGTH
.
-
getStopStatus
public int getStopStatus()
Retrieves the value of the attributeXPRSconstants.STOPSTATUS
. Status of the optimization process.This attribute is used in the following examples:
- AddMipSol
- FixBV
- GlobalObjectiveParametrics
- GlobalRHSParametrics
- GoalProg
- Knapsack
- LoadLP
- MipSolEnum
- MipSolPool
- MostViolated
- SaveSol
- TSP
- Tableau
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.STOPSTATUS
.
-
getOriginalMIPEnts
public int getOriginalMIPEnts()
Retrieves the value of the attributeXPRSconstants.ORIGINALMIPENTS
. Number of MIP entities (i.e. binary, integer, semi-continuous, partial integer, and semi-continuous integer variables) but excluding the number of special ordered sets in the original matrix before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALMIPENTS
.
-
getOriginalSets
public int getOriginalSets()
Retrieves the value of the attributeXPRSconstants.ORIGINALSETS
. Number of special ordered sets in the original matrix before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALSETS
.
-
getOriginalSetMembers
public long getOriginalSetMembers()
Retrieves the value of the attributeXPRSconstants.ORIGINALSETMEMBERS
. Number of variables within special ordered sets (set members) in the original matrix before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALSETMEMBERS
.
-
getSpareSets
public int getSpareSets()
Retrieves the value of the attributeXPRSconstants.SPARESETS
. Number of spare sets in the matrix.- Returns:
-
Value of attribute
XPRSconstants.SPARESETS
.
-
getSpareSetElems
public long getSpareSetElems()
Retrieves the value of the attributeXPRSconstants.SPARESETELEMS
. Number of spare set elements in the matrix.- Returns:
-
Value of attribute
XPRSconstants.SPARESETELEMS
.
-
getChecksOnMaxTime
public int getChecksOnMaxTime()
Retrieves the value of the attributeXPRSconstants.CHECKSONMAXTIME
. This attribute is used to set the value of theMAXCHECKSONMAXTIME
control. Its value is the number of times the optimizer checked theMAXTIME
criterion during the last call to the optimization routinemipOptimize
. If a run terminates on theMAXTIME
criterion then the attribute is the negative of the number of times the optimizer checked theMAXTIME
criterion up to and including the check when the termination was activated. Note that the attribute is set to zero at the beginning of each call to an optimization routine.- Returns:
-
Value of attribute
XPRSconstants.CHECKSONMAXTIME
.
-
getChecksOnMaxCutTime
public int getChecksOnMaxCutTime()
Retrieves the value of the attributeXPRSconstants.CHECKSONMAXCUTTIME
. This attribute is used to set the value of theMAXCHECKSONMAXCUTTIME
control. Its value is the number of times the optimizer checked theMAXCUTTIME
criterion during the last call to the optimization routinemipOptimize
. If a run terminates cutting operations on theMAXCUTTIME
criterion then the attribute is the negative of the number of times the optimizer checked theMAXCUTTIME
criterion up to and including the check when the termination was activated. Note that the attribute is set to zero at the beginning of each call to an optimization routine.- Returns:
-
Value of attribute
XPRSconstants.CHECKSONMAXCUTTIME
.
-
getOriginalCols
public int getOriginalCols()
Retrieves the value of the attributeXPRSconstants.ORIGINALCOLS
. Number of columns (i.e. variables) in the original matrix before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALCOLS
.
-
getQCElems
public int getQCElems()
Retrieves the value of the attributeXPRSconstants.QCELEMS
. Number of quadratic row coefficients in the matrix.- Returns:
-
Value of attribute
XPRSconstants.QCELEMS
.
-
getQConstraints
public int getQConstraints()
Retrieves the value of the attributeXPRSconstants.QCONSTRAINTS
. Number of rows with quadratic coefficients in the matrix.- Returns:
-
Value of attribute
XPRSconstants.QCONSTRAINTS
.
-
getOriginalQCElems
public int getOriginalQCElems()
Retrieves the value of the attributeXPRSconstants.ORIGINALQCELEMS
. Number of quadratic row coefficients in the original matrix before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALQCELEMS
.
-
getOriginalQConstraints
public int getOriginalQConstraints()
Retrieves the value of the attributeXPRSconstants.ORIGINALQCONSTRAINTS
. Number of rows with quadratic coefficients in the original matrix before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALQCONSTRAINTS
.
-
getPeakTotalTreeMemoryUsage
public int getPeakTotalTreeMemoryUsage()
Retrieves the value of the attributeXPRSconstants.PEAKTOTALTREEMEMORYUSAGE
. The peak size, in megabytes, that the branch-and-bound search tree reached during the solve. Note that this value will include the uncompressed size of any compressed data and the size of any data saved to the tree file.- Returns:
-
Value of attribute
XPRSconstants.PEAKTOTALTREEMEMORYUSAGE
.
-
getCurrentNode
public int getCurrentNode()
Retrieves the value of the attributeXPRSconstants.CURRENTNODE
. The unique identifier of the current node in the tree search.This attribute is used in the following examples:
- Knapsack
- RoundInt
- SaveSol
- Returns:
-
Value of attribute
XPRSconstants.CURRENTNODE
.
-
getTreeMemoryUsage
public int getTreeMemoryUsage()
Retrieves the value of the attributeXPRSconstants.TREEMEMORYUSAGE
. The amount of physical memory, in megabytes, currently being used to store the branch-and-bound search tree.- Returns:
-
Value of attribute
XPRSconstants.TREEMEMORYUSAGE
.
-
getTreeFileSize
public int getTreeFileSize()
Retrieves the value of the attributeXPRSconstants.TREEFILESIZE
. The allocated size of the tree file, in megabytes. Because data can be removed from the tree file during the branch and bound search, the size of the tree file is usually greater than the amount of data currently within it (represented by theTREEFILEUSAGE
attribute).- Returns:
-
Value of attribute
XPRSconstants.TREEFILESIZE
.
-
getTreeFileUsage
public int getTreeFileUsage()
Retrieves the value of the attributeXPRSconstants.TREEFILEUSAGE
. The number of megabytes of data from the branch-and-bound tree that have been saved to the tree file. Note that the actual allocated size of the tree file (represented by theTREEFILESIZE
attribute) may be greater than this value.- Returns:
-
Value of attribute
XPRSconstants.TREEFILEUSAGE
.
-
getIndicators
public int getIndicators()
Retrieves the value of the attributeXPRSconstants.INDICATORS
. Number of indicator constrains in the problem.- Returns:
-
Value of attribute
XPRSconstants.INDICATORS
.
-
getOriginalIndicators
public int getOriginalIndicators()
Retrieves the value of the attributeXPRSconstants.ORIGINALINDICATORS
. Number of indicator constraints in the original matrix before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALINDICATORS
.
-
getCoresPerCPUDetected
public int getCoresPerCPUDetected()
Retrieves the value of the attributeXPRSconstants.CORESPERCPUDETECTED
. Number of logical cores per CPU unit detected by the optimizer, which is the number of threads each CPU can execute.- Returns:
-
Value of attribute
XPRSconstants.CORESPERCPUDETECTED
.
-
getCPUsDetected
public int getCPUsDetected()
Retrieves the value of the attributeXPRSconstants.CPUSDETECTED
. Number of CPU units detected by the optimizer.- Returns:
-
Value of attribute
XPRSconstants.CPUSDETECTED
.
-
getCoresDetected
public int getCoresDetected()
Retrieves the value of the attributeXPRSconstants.CORESDETECTED
. Number of logical cores detected by the optimizer, which is the total number of threads the hardware can execute across all CPUs.This attribute is used in the following examples:
- MostViolated
- Returns:
-
Value of attribute
XPRSconstants.CORESDETECTED
.
-
getPhysicalCoresDetected
public int getPhysicalCoresDetected()
Retrieves the value of the attributeXPRSconstants.PHYSICALCORESDETECTED
. The total number of physical cores across all CPUs detected by the optimizer.- Returns:
-
Value of attribute
XPRSconstants.PHYSICALCORESDETECTED
.
-
getPhysicalCoresPerCPUDetected
public int getPhysicalCoresPerCPUDetected()
Retrieves the value of the attributeXPRSconstants.PHYSICALCORESPERCPUDETECTED
. The number of physical cores per CPU detected by the optimizer.- Returns:
-
Value of attribute
XPRSconstants.PHYSICALCORESPERCPUDETECTED
.
-
getOptimizeTypeUsed
public XPRSenumerations.OptimizeType getOptimizeTypeUsed()
Retrieves the value of the attributeXPRSconstants.OPTIMIZETYPEUSED
. The type of solver used in the last call tooptimize
,mipOptimize
,lpOptimize
ornlpOptimize
. (Values are from the enumerationXPRSenumerations.OptimizeType
)- Returns:
-
Value of attribute
XPRSconstants.OPTIMIZETYPEUSED
.
-
getBarSing
public int getBarSing()
Retrieves the value of the attributeXPRSconstants.BARSING
. Number of linearly dependent binding constraints at the optimal barrier solution. These results in singularities in the Cholesky decomposition during the barrier that may cause numerical troubles. Larger dependence means more chance for numerical difficulties.- Returns:
-
Value of attribute
XPRSconstants.BARSING
.
-
getBarSingR
public int getBarSingR()
Retrieves the value of the attributeXPRSconstants.BARSINGR
. Regularized number of linearly dependent binding constraints at the optimal barrier solution. These results in singularities in the Cholesky decomposition during the barrier that may cause numerical troubles. Larger dependence means more chance for numerical difficulties.- Returns:
-
Value of attribute
XPRSconstants.BARSINGR
.
-
getPresolveIndex
public int getPresolveIndex()
Retrieves the value of the attributeXPRSconstants.PRESOLVEINDEX
. Presolve: The row or column index on which presolve detected a problem to be infeasible or unbounded.- Returns:
-
Value of attribute
XPRSconstants.PRESOLVEINDEX
.
-
getCurrentMemory
public long getCurrentMemory()
Retrieves the value of the attributeXPRSconstants.CURRENTMEMORY
. The amount of dynamically allocated heap memory by the problem being solved.- Returns:
-
Value of attribute
XPRSconstants.CURRENTMEMORY
.
-
getPeakMemory
public long getPeakMemory()
Retrieves the value of the attributeXPRSconstants.PEAKMEMORY
. An estimate of the peak amount of dynamically allocated heap memory by the problem.- Returns:
-
Value of attribute
XPRSconstants.PEAKMEMORY
.
-
getCones
public int getCones()
Retrieves the value of the attributeXPRSconstants.CONES
. Number of second order and rotated second order cones in the problem.- Returns:
-
Value of attribute
XPRSconstants.CONES
.
-
getConeElems
public int getConeElems()
Retrieves the value of the attributeXPRSconstants.CONEELEMS
. Number of second order cone coefficients in the problem.- Returns:
-
Value of attribute
XPRSconstants.CONEELEMS
.
-
getTotalMemory
public long getTotalMemory()
Retrieves the value of the attributeXPRSconstants.TOTALMEMORY
. The amount of dynamically allocated heap memory by the optimizer, including all problems currently exsisting.- Returns:
-
Value of attribute
XPRSconstants.TOTALMEMORY
.
-
getAvailableMemory
public long getAvailableMemory()
Retrieves the value of the attributeXPRSconstants.AVAILABLEMEMORY
. The amount of heap memory detected by Xpress as free.- Returns:
-
Value of attribute
XPRSconstants.AVAILABLEMEMORY
.
-
getPwlCons
public int getPwlCons()
Retrieves the value of the attributeXPRSconstants.PWLCONS
. Number of piecewise linear constraints in the problem.- Returns:
-
Value of attribute
XPRSconstants.PWLCONS
.
-
getPwlPoints
public long getPwlPoints()
Retrieves the value of the attributeXPRSconstants.PWLPOINTS
. Number of breakpoints of piecewise linear constraints in the problem.- Returns:
-
Value of attribute
XPRSconstants.PWLPOINTS
.
-
getGenCons
public int getGenCons()
Retrieves the value of the attributeXPRSconstants.GENCONS
. The number of general constraints (i.e. MIN/MAX/AND/OR/ABS constraints) in the problem.- Returns:
-
Value of attribute
XPRSconstants.GENCONS
.
-
getGenConCols
public long getGenConCols()
Retrieves the value of the attributeXPRSconstants.GENCONCOLS
. Number of input variables in general constraints (i.e. MIN/MAX/AND/OR/ABS constraints) in the problem.- Returns:
-
Value of attribute
XPRSconstants.GENCONCOLS
.
-
getGenConVals
public long getGenConVals()
Retrieves the value of the attributeXPRSconstants.GENCONVALS
. Number of constant values in general constraints (MIN/MAX constraints) in the problem.- Returns:
-
Value of attribute
XPRSconstants.GENCONVALS
.
-
getTreeRestarts
public int getTreeRestarts()
Retrieves the value of the attributeXPRSconstants.TREERESTARTS
. Number of in-tree restarts performed.- Returns:
-
Value of attribute
XPRSconstants.TREERESTARTS
.
-
getOriginalPwls
public int getOriginalPwls()
Retrieves the value of the attributeXPRSconstants.ORIGINALPWLS
. Number of piecewise linear constraints in the original problem before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALPWLS
.
-
getOriginalPwlpoints
public long getOriginalPwlpoints()
Retrieves the value of the attributeXPRSconstants.ORIGINALPWLPOINTS
. Number of breakpoints of piecewise linear constraints in the original problem before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALPWLPOINTS
.
-
getOriginalGencons
public int getOriginalGencons()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONS
. Number of general constraints in the original problem before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALGENCONS
.
-
getOriginalGenconCols
public long getOriginalGenconCols()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONCOLS
. Number of input variables in general constraints in the original problem before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALGENCONCOLS
.
-
getOriginalGenconVals
public long getOriginalGenconVals()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONVALS
. Number of constant values in general constraints in the original problem before presolving.- Returns:
-
Value of attribute
XPRSconstants.ORIGINALGENCONVALS
.
-
getComputeExecutions
public int getComputeExecutions()
Retrieves the value of the attributeXPRSconstants.COMPUTEEXECUTIONS
. The number of solves executed on a compute server.- Returns:
-
Value of attribute
XPRSconstants.COMPUTEEXECUTIONS
.
-
getMemoryLimitDetected
public long getMemoryLimitDetected()
Retrieves the value of the attributeXPRSconstants.MEMORYLIMITDETECTED
. The detected amount of memory accessible to the solver process, in megabytes. This is the minimum of physical memory, virtual memory limitations, and detected container limitations (Linux only).- Returns:
-
Value of attribute
XPRSconstants.MEMORYLIMITDETECTED
.
-
getRestarts
public int getRestarts()
Retrieves the value of the attributeXPRSconstants.RESTARTS
. Total number of restarts performed.- Returns:
-
Value of attribute
XPRSconstants.RESTARTS
.
-
getSolveStatus
public XPRSenumerations.SolveStatus getSolveStatus()
Retrieves the value of the attributeXPRSconstants.SOLVESTATUS
. Status of the solve of the last problem solved with optimize. (Values are from the enumerationXPRSenumerations.SolveStatus
)This attribute is used in the following examples:
- AddMipSol
- FixBV
- GlobalObjectiveParametrics
- GlobalRHSParametrics
- GoalProg
- Knapsack
- LoadLP
- MipSolEnum
- MipSolPool
- MostViolated
- SaveSol
- TSP
- Tableau
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.SOLVESTATUS
.
-
getGlobalBoundingboxApplied
public int getGlobalBoundingboxApplied()
Retrieves the value of the attributeXPRSconstants.GLOBALBOUNDINGBOXAPPLIED
. Whether a bounding box equal to the absolute value of theGLOBALBOUNDINGBOX
control was applied to the problem after the initial solve came back infeasible and if so, to which variables.- Returns:
-
Value of attribute
XPRSconstants.GLOBALBOUNDINGBOXAPPLIED
.
-
getObjectives
public int getObjectives()
Retrieves the value of the attributeXPRSconstants.OBJECTIVES
. Number of objectives in the problem.- Returns:
-
Value of attribute
XPRSconstants.OBJECTIVES
.
-
getSolvedObjs
public int getSolvedObjs()
Retrieves the value of the attributeXPRSconstants.SOLVEDOBJS
. Number of objectives that have been solved so far during a multi-objective solve.- Returns:
-
Value of attribute
XPRSconstants.SOLVEDOBJS
.
-
getObjsToSolve
public int getObjsToSolve()
Retrieves the value of the attributeXPRSconstants.OBJSTOSOLVE
. Number of objectives that will be solved during the current multi-objective solve.- Returns:
-
Value of attribute
XPRSconstants.OBJSTOSOLVE
.
-
getGlobalNLPInfeas
public int getGlobalNLPInfeas()
Retrieves the value of the attributeXPRSconstants.GLOBALNLPINFEAS
. Number of nonlinear infeasibilities at the current node of a global solve, measured as the number of violated atomic formulas.- Returns:
-
Value of attribute
XPRSconstants.GLOBALNLPINFEAS
.
-
getIISSolStatus
public XPRSenumerations.IISSolStatus getIISSolStatus()
Retrieves the value of the attributeXPRSconstants.IISSOLSTATUS
. IIS solution status. (Values are from the enumerationXPRSenumerations.IISSolStatus
)This attribute is used in the following examples:
- IISExample
- Returns:
-
Value of attribute
XPRSconstants.IISSOLSTATUS
.
-
getInputRows
public int getInputRows()
Retrieves the value of the attributeXPRSconstants.INPUTROWS
. Number of rows (i.e. constraints) in the original matrix before nonlinear reformulations.This attribute is used in the following examples:
- Repair
- Returns:
-
Value of attribute
XPRSconstants.INPUTROWS
.
-
getInputCols
public int getInputCols()
Retrieves the value of the attributeXPRSconstants.INPUTCOLS
. Number of columns (i.e. variables) in the original matrix before nonlinear reformulations.This attribute is used in the following examples:
- Repair
- Returns:
-
Value of attribute
XPRSconstants.INPUTCOLS
.
-
getMIPSolTime
public double getMIPSolTime()
Retrieves the value of the attributeXPRSconstants.MIPSOLTIME
. Time at which the last integer feasible solution was found.- Returns:
-
Value of attribute
XPRSconstants.MIPSOLTIME
.
-
getTime
public double getTime()
Retrieves the value of the attributeXPRSconstants.TIME
. Time spent solving the problem as measured by the optimizer.- Returns:
-
Value of attribute
XPRSconstants.TIME
.
-
getLPObjVal
public double getLPObjVal()
Retrieves the value of the attributeXPRSconstants.LPOBJVAL
. Value of the objective function of the last LP solved.This attribute is used in the following examples:
- Knapsack
- LoadLP
- RoundInt
- Tableau
- Returns:
-
Value of attribute
XPRSconstants.LPOBJVAL
.
-
getSumPrimalInf
public double getSumPrimalInf()
Retrieves the value of the attributeXPRSconstants.SUMPRIMALINF
. Scaled sum of primal infeasibilities.- Returns:
-
Value of attribute
XPRSconstants.SUMPRIMALINF
.
-
getMIPObjVal
public double getMIPObjVal()
Retrieves the value of the attributeXPRSconstants.MIPOBJVAL
. Objective function value of the last integer solution found.This attribute is used in the following examples:
- AddMipSol
- FixBV
- GlobalObjectiveParametrics
- GlobalRHSParametrics
- Knapsack
- MipSolEnum
- MipSolPool
- MostViolated
- SaveSol
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.MIPOBJVAL
.
-
getBestBound
public double getBestBound()
Retrieves the value of the attributeXPRSconstants.BESTBOUND
. Value of the best bound determined so far by the MIP search.This attribute is used in the following examples:
- SaveSol
- Returns:
-
Value of attribute
XPRSconstants.BESTBOUND
.
-
getObjRHS
public double getObjRHS()
Retrieves the value of the attributeXPRSconstants.OBJRHS
. Fixed part of the objective function.- Returns:
-
Value of attribute
XPRSconstants.OBJRHS
.
-
getMIPBestObjVal
public double getMIPBestObjVal()
Retrieves the value of the attributeXPRSconstants.MIPBESTOBJVAL
. Objective function value of the best integer solution found.This attribute is used in the following examples:
- AddMipSol
- FixBV
- GlobalObjectiveParametrics
- GlobalRHSParametrics
- Knapsack
- MipSolEnum
- MipSolPool
- MostViolated
- SaveSol
- TSP
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.MIPBESTOBJVAL
.
-
getOBJSense
public double getOBJSense()
Retrieves the value of the attributeXPRSconstants.OBJSENSE
. Sense of the optimization being performed.- Returns:
-
Value of attribute
XPRSconstants.OBJSENSE
.
-
getBranchValue
public double getBranchValue()
Retrieves the value of the attributeXPRSconstants.BRANCHVALUE
. The value of the branching variable at a node of the Branch and Bound tree.- Returns:
-
Value of attribute
XPRSconstants.BRANCHVALUE
.
-
getPenaltyValue
public double getPenaltyValue()
Retrieves the value of the attributeXPRSconstants.PENALTYVALUE
. The weighted sum of violations in the solution to the relaxed problem identified by the infeasibility repair function.- Returns:
-
Value of attribute
XPRSconstants.PENALTYVALUE
.
-
getCurrMipCutOff
public double getCurrMipCutOff()
Retrieves the value of the attributeXPRSconstants.CURRMIPCUTOFF
. The current MIP cut off.- Returns:
-
Value of attribute
XPRSconstants.CURRMIPCUTOFF
.
-
getBarCondA
public double getBarCondA()
Retrieves the value of the attributeXPRSconstants.BARCONDA
. Absolute condition measure calculated in the last iteration of the barrier algorithm.- Returns:
-
Value of attribute
XPRSconstants.BARCONDA
.
-
getBarCondD
public double getBarCondD()
Retrieves the value of the attributeXPRSconstants.BARCONDD
. Condition measure calculated in the last iteration of the barrier algorithm.- Returns:
-
Value of attribute
XPRSconstants.BARCONDD
.
-
getMaxAbsPrimalInfeas
public double getMaxAbsPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.MAXABSPRIMALINFEAS
. Maximum calculated absolute primal infeasibility in the unscaled original problem.- Returns:
-
Value of attribute
XPRSconstants.MAXABSPRIMALINFEAS
.
-
getMaxRelPrimalInfeas
public double getMaxRelPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.MAXRELPRIMALINFEAS
. Maximum calculated relative primal infeasibility in the unscaled original problem.- Returns:
-
Value of attribute
XPRSconstants.MAXRELPRIMALINFEAS
.
-
getMaxAbsDualInfeas
public double getMaxAbsDualInfeas()
Retrieves the value of the attributeXPRSconstants.MAXABSDUALINFEAS
. Maximum calculated absolute dual infeasibility in the unscaled original problem.- Returns:
-
Value of attribute
XPRSconstants.MAXABSDUALINFEAS
.
-
getMaxRelDualInfeas
public double getMaxRelDualInfeas()
Retrieves the value of the attributeXPRSconstants.MAXRELDUALINFEAS
. Maximum calculated relative dual infeasibility in the unscaled original problem.- Returns:
-
Value of attribute
XPRSconstants.MAXRELDUALINFEAS
.
-
getPrimalDualIntegral
public double getPrimalDualIntegral()
Retrieves the value of the attributeXPRSconstants.PRIMALDUALINTEGRAL
. Value of the primal-dual integral.- Returns:
-
Value of attribute
XPRSconstants.PRIMALDUALINTEGRAL
.
-
getMaxMipInfeas
public double getMaxMipInfeas()
Retrieves the value of the attributeXPRSconstants.MAXMIPINFEAS
. Maximum integer fractionality in the solution.- Returns:
-
Value of attribute
XPRSconstants.MAXMIPINFEAS
.
-
getAttentionLevel
public double getAttentionLevel()
Retrieves the value of the attributeXPRSconstants.ATTENTIONLEVEL
. A measure between 0 and 1 for how numerically unstable the problem is. The attention level is based on a weighted combination of the number of basis condition numbers exceeding certain thresholds. It considers all nodes sampled byMIPKAPPAFREQ
, with a setting of 1 being the most frequent sampling rate. The higher the attention level, the worse conditioned is the problem.- Returns:
-
Value of attribute
XPRSconstants.ATTENTIONLEVEL
.
-
getMaxKappa
public double getMaxKappa()
Retrieves the value of the attributeXPRSconstants.MAXKAPPA
. Largest basis condition number (also known as kappa) calculated through all nodes sampled byMIPKAPPAFREQ
.- Returns:
-
Value of attribute
XPRSconstants.MAXKAPPA
.
-
getTreeCompletion
public double getTreeCompletion()
Retrieves the value of the attributeXPRSconstants.TREECOMPLETION
. Estimation of the relative completion of the search tree as fraction between 0 and 1. Its accuracy mainly depends on the level of degeneracy of a problem and the balancedness of the search tree.- Returns:
-
Value of attribute
XPRSconstants.TREECOMPLETION
.
-
getPredictedAttLevel
public double getPredictedAttLevel()
Retrieves the value of the attributeXPRSconstants.PREDICTEDATTLEVEL
. A measure between 0 and 1 to predict how numerically unstable the current MIP solve can be expected to be. After the root LP solve, a machine learning model is used to predict the actualATTENTIONLEVEL
which will only be computed ifMIPKAPPAFREQ
is set to a nonzero value. If the predicted attention level exceeds a value of 0.1, a message will be printed to the log.- Returns:
-
Value of attribute
XPRSconstants.PREDICTEDATTLEVEL
.
-
getObservedPrimalIntegral
public double getObservedPrimalIntegral()
Retrieves the value of the attributeXPRSconstants.OBSERVEDPRIMALINTEGRAL
. Value of the (observed) primal integral.- Returns:
-
Value of attribute
XPRSconstants.OBSERVEDPRIMALINTEGRAL
.
-
getCpiScaleFactor
public double getCpiScaleFactor()
Retrieves the value of the attributeXPRSconstants.CPISCALEFACTOR
. scale factor from primal integral computation.- Returns:
-
Value of attribute
XPRSconstants.CPISCALEFACTOR
.
-
getObjVal
public double getObjVal()
Retrieves the value of the attributeXPRSconstants.OBJVAL
. Value of the objective function of the last problem solved with optimize.This attribute is used in the following examples:
- AddMipSol
- FixBV
- GlobalObjectiveParametrics
- GlobalRHSParametrics
- Knapsack
- LoadLP
- MipSolEnum
- MipSolPool
- MostViolated
- Polygon
- PolygonMap
- PolygonMapDelta
- PolygonMultiMap
- PolygonMultiMapDelta
- PolygonVecMap
- PolygonVecMapDelta
- SaveSol
- Trimloss
- Returns:
-
Value of attribute
XPRSconstants.OBJVAL
.
-
getMatrixName
public java.lang.String getMatrixName()
Retrieves the value of the attributeXPRSconstants.MATRIXNAME
. The matrix name.- Returns:
-
Value of attribute
XPRSconstants.MATRIXNAME
.
-
getBoundName
public java.lang.String getBoundName()
Retrieves the value of the attributeXPRSconstants.BOUNDNAME
. Active bound name.- Returns:
-
Value of attribute
XPRSconstants.BOUNDNAME
.
-
getObjName
@Deprecated public java.lang.String getObjName()
Deprecated.since 41.00Retrieves the value of the attributeXPRSconstants.OBJNAME
.- Returns:
-
Value of attribute
XPRSconstants.OBJNAME
.
-
getRHSName
public java.lang.String getRHSName()
Retrieves the value of the attributeXPRSconstants.RHSNAME
. Active right hand side name.- Returns:
-
Value of attribute
XPRSconstants.RHSNAME
.
-
getRangeName
public java.lang.String getRangeName()
Retrieves the value of the attributeXPRSconstants.RANGENAME
. Active range name.- Returns:
-
Value of attribute
XPRSconstants.RANGENAME
.
-
getXpressVersion
public java.lang.String getXpressVersion()
Retrieves the value of the attributeXPRSconstants.XPRESSVERSION
. The Xpress version number.- Returns:
-
Value of attribute
XPRSconstants.XPRESSVERSION
.
-
getUUID
public java.lang.String getUUID()
Retrieves the value of the attributeXPRSconstants.UUID
. Universally Unique Identifier for the problem instance.- Returns:
-
Value of attribute
XPRSconstants.UUID
.
-
getBarPrimalObj
public double getBarPrimalObj()
Retrieves the value of the attributeXPRSconstants.BARPRIMALOBJ
. Primal objective value calculated by the Newton barrier algorithm.- Returns:
-
Value of attribute
XPRSconstants.BARPRIMALOBJ
.
-
getBarDualObj
public double getBarDualObj()
Retrieves the value of the attributeXPRSconstants.BARDUALOBJ
. Dual objective value calculated by the Newton barrier algorithm.- Returns:
-
Value of attribute
XPRSconstants.BARDUALOBJ
.
-
getBarPrimalInf
public double getBarPrimalInf()
Retrieves the value of the attributeXPRSconstants.BARPRIMALINF
. Sum of the primal infeasibilities for the Newton barrier algorithm.- Returns:
-
Value of attribute
XPRSconstants.BARPRIMALINF
.
-
getBarDualInf
public double getBarDualInf()
Retrieves the value of the attributeXPRSconstants.BARDUALINF
. Sum of the dual infeasibilities for the Newton barrier algorithm.- Returns:
-
Value of attribute
XPRSconstants.BARDUALINF
.
-
getBarCGap
public double getBarCGap()
Retrieves the value of the attributeXPRSconstants.BARCGAP
. Convergence criterion for the Newton barrier algorithm.- Returns:
-
Value of attribute
XPRSconstants.BARCGAP
.
-
getBarIter
public int getBarIter()
Retrieves the value of the attributeXPRSconstants.BARITER
. Number of Newton barrier iterations.- Returns:
-
Value of attribute
XPRSconstants.BARITER
.
-
getBarAASize
public long getBarAASize()
Retrieves the value of the attributeXPRSconstants.BARAASIZE
. Number of nonzeros in AA T.- Returns:
-
Value of attribute
XPRSconstants.BARAASIZE
.
-
getBarLSize
public long getBarLSize()
Retrieves the value of the attributeXPRSconstants.BARLSIZE
. Number of nonzeros in L resulting from the Cholesky factorization.- Returns:
-
Value of attribute
XPRSconstants.BARLSIZE
.
-
getBarDenseCol
public int getBarDenseCol()
Retrieves the value of the attributeXPRSconstants.BARDENSECOL
. Number of dense columns found in the matrix.- Returns:
-
Value of attribute
XPRSconstants.BARDENSECOL
.
-
getBarCrossover
public int getBarCrossover()
Retrieves the value of the attributeXPRSconstants.BARCROSSOVER
. Indicates whether or not the basis crossover phase has been entered.- Returns:
-
Value of attribute
XPRSconstants.BARCROSSOVER
.
-
getNlpOptTime
public double getNlpOptTime()
Retrieves the value of the attributeXPRSconstants.NLPOPTTIME
. Time spent in optimization- Returns:
-
Value of attribute
XPRSconstants.NLPOPTTIME
.
-
getNlpValidationIndex_A
public double getNlpValidationIndex_A()
Retrieves the value of the attributeXPRSconstants.NLPVALIDATIONINDEX_A
. Absolute validation index- Returns:
-
Value of attribute
XPRSconstants.NLPVALIDATIONINDEX_A
.
-
getNlpValidationIndex_R
public double getNlpValidationIndex_R()
Retrieves the value of the attributeXPRSconstants.NLPVALIDATIONINDEX_R
. Relative validation index- Returns:
-
Value of attribute
XPRSconstants.NLPVALIDATIONINDEX_R
.
-
getNlpObjVal
public double getNlpObjVal()
Retrieves the value of the attributeXPRSconstants.NLPOBJVAL
. Objective function value excluding any penalty costs- Returns:
-
Value of attribute
XPRSconstants.NLPOBJVAL
.
-
getSlpErrorCosts
public double getSlpErrorCosts()
Retrieves the value of the attributeXPRSconstants.SLPERRORCOSTS
. Total penalty costs in the solution- Returns:
-
Value of attribute
XPRSconstants.SLPERRORCOSTS
.
-
getNlpOriginalRows
public int getNlpOriginalRows()
Retrieves the value of the attributeXPRSconstants.NLPORIGINALROWS
. Number of model rows in the extended original problem- Returns:
-
Value of attribute
XPRSconstants.NLPORIGINALROWS
.
-
getNlpOriginalCols
public int getNlpOriginalCols()
Retrieves the value of the attributeXPRSconstants.NLPORIGINALCOLS
. Number of model columns in the extended original problem- Returns:
-
Value of attribute
XPRSconstants.NLPORIGINALCOLS
.
-
getNlpUFs
public int getNlpUFs()
Retrieves the value of the attributeXPRSconstants.NLPUFS
. Number of user functions- Returns:
-
Value of attribute
XPRSconstants.NLPUFS
.
-
getNlpIfs
public int getNlpIfs()
Retrieves the value of the attributeXPRSconstants.NLPIFS
. Number of internal functions- Returns:
-
Value of attribute
XPRSconstants.NLPIFS
.
-
getNlpEqualsColumn
public int getNlpEqualsColumn()
Retrieves the value of the attributeXPRSconstants.NLPEQUALSCOLUMN
. Index of the reserved "=" column- Returns:
-
Value of attribute
XPRSconstants.NLPEQUALSCOLUMN
.
-
getNlpVariables
public int getNlpVariables()
Retrieves the value of the attributeXPRSconstants.NLPVARIABLES
. Number of SLP variables- Returns:
-
Value of attribute
XPRSconstants.NLPVARIABLES
.
-
getNlpImplicitVariables
public int getNlpImplicitVariables()
Retrieves the value of the attributeXPRSconstants.NLPIMPLICITVARIABLES
. Number of SLP variables appearing only in coefficients- Returns:
-
Value of attribute
XPRSconstants.NLPIMPLICITVARIABLES
.
-
getNonLinearConstraints
public int getNonLinearConstraints()
Retrieves the value of the attributeXPRSconstants.NONLINEARCONSTRAINTS
. Number of nonlinear constraints in the problem- Returns:
-
Value of attribute
XPRSconstants.NONLINEARCONSTRAINTS
.
-
getNlpUserFuncCalls
public int getNlpUserFuncCalls()
Retrieves the value of the attributeXPRSconstants.NLPUSERFUNCCALLS
. Number of calls made to user functions- Returns:
-
Value of attribute
XPRSconstants.NLPUSERFUNCCALLS
.
-
getNlpUseDerivatives
public int getNlpUseDerivatives()
Retrieves the value of the attributeXPRSconstants.NLPUSEDERIVATIVES
. Indicates whether numeric or analytic derivatives were used to create the linear approximations and solve the problem- Returns:
-
Value of attribute
XPRSconstants.NLPUSEDERIVATIVES
.
-
getNlpKeepBestIter
public int getNlpKeepBestIter()
Retrieves the value of the attributeXPRSconstants.NLPKEEPBESTITER
. The iteration in which the returned solution has been found.- Returns:
-
Value of attribute
XPRSconstants.NLPKEEPBESTITER
.
-
getNlpStatus
public int getNlpStatus()
Retrieves the value of the attributeXPRSconstants.NLPSTATUS
. Bitmap holding the problem convergence status- Returns:
-
Value of attribute
XPRSconstants.NLPSTATUS
.
-
getLocalSolverSelected
public int getLocalSolverSelected()
Retrieves the value of the attributeXPRSconstants.LOCALSOLVERSELECTED
.- Returns:
-
Value of attribute
XPRSconstants.LOCALSOLVERSELECTED
.
-
getNlpModelRows
public int getNlpModelRows()
Retrieves the value of the attributeXPRSconstants.NLPMODELROWS
. Number of model rows in the problem- Returns:
-
Value of attribute
XPRSconstants.NLPMODELROWS
.
-
getNlpModelCols
public int getNlpModelCols()
Retrieves the value of the attributeXPRSconstants.NLPMODELCOLS
. Number of model columns in the problem- Returns:
-
Value of attribute
XPRSconstants.NLPMODELCOLS
.
-
getNlpJobID
public int getNlpJobID()
Retrieves the value of the attributeXPRSconstants.NLPJOBID
. Unique identifier for the current job- Returns:
-
Value of attribute
XPRSconstants.NLPJOBID
.
-
getNlpStopStatus
public int getNlpStopStatus()
Retrieves the value of the attributeXPRSconstants.NLPSTOPSTATUS
. Status of the optimization process.- Returns:
-
Value of attribute
XPRSconstants.NLPSTOPSTATUS
.
-
getNlpPresolveEliminations
public int getNlpPresolveEliminations()
Retrieves the value of the attributeXPRSconstants.NLPPRESOLVEELIMINATIONS
. Number of SLP variables eliminated byXSLPpresolve
- Returns:
-
Value of attribute
XPRSconstants.NLPPRESOLVEELIMINATIONS
.
-
getSlpIter
public int getSlpIter()
Retrieves the value of the attributeXPRSconstants.SLPITER
. SLP iteration count- Returns:
-
Value of attribute
XPRSconstants.SLPITER
.
-
getSlpStatus
public int getSlpStatus()
Retrieves the value of the attributeXPRSconstants.SLPSTATUS
. Bitmap holding the problem convergence status- Returns:
-
Value of attribute
XPRSconstants.SLPSTATUS
.
-
getSlpUnConverged
public int getSlpUnConverged()
Retrieves the value of the attributeXPRSconstants.SLPUNCONVERGED
. Number of unconverged values- Returns:
-
Value of attribute
XPRSconstants.SLPUNCONVERGED
.
-
getSlpSbxConverged
public int getSlpSbxConverged()
Retrieves the value of the attributeXPRSconstants.SLPSBXCONVERGED
. Number of step-bounded variables converged only on extended criteria- Returns:
-
Value of attribute
XPRSconstants.SLPSBXCONVERGED
.
-
getSlpPenaltyDeltaRow
public int getSlpPenaltyDeltaRow()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAROW
. Index of equality row holding the penalties for delta vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYDELTAROW
.
-
getSlpPenaltyDeltaColumn
public int getSlpPenaltyDeltaColumn()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTACOLUMN
. Index of column costing the penalty delta row- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYDELTACOLUMN
.
-
getSlpPenaltyErrorRow
public int getSlpPenaltyErrorRow()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORROW
. Index of equality row holding the penalties for penalty error vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYERRORROW
.
-
getSlpPenaltyErrorColumn
public int getSlpPenaltyErrorColumn()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORCOLUMN
. Index of column costing the penalty error row- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYERRORCOLUMN
.
-
getSlpCoefficients
public int getSlpCoefficients()
Retrieves the value of the attributeXPRSconstants.SLPCOEFFICIENTS
. Number of nonlinear coefficients- Returns:
-
Value of attribute
XPRSconstants.SLPCOEFFICIENTS
.
-
getSlpPenaltyDeltas
public int getSlpPenaltyDeltas()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAS
. Number of penalty delta vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYDELTAS
.
-
getSlpPenaltyErrors
public int getSlpPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORS
. Number of penalty error vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYERRORS
.
-
getSlpPlusPenaltyErrors
public int getSlpPlusPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPPLUSPENALTYERRORS
. Number of positive penalty error vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPLUSPENALTYERRORS
.
-
getSlpMinusPenaltyErrors
public int getSlpMinusPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPMINUSPENALTYERRORS
. Number of negative penalty error vectors- Returns:
-
Value of attribute
XPRSconstants.SLPMINUSPENALTYERRORS
.
-
getSlpUCConstrainedCount
public int getSlpUCConstrainedCount()
Retrieves the value of the attributeXPRSconstants.SLPUCCONSTRAINEDCOUNT
. Number of unconverged variables with coefficients in constraining rows- Returns:
-
Value of attribute
XPRSconstants.SLPUCCONSTRAINEDCOUNT
.
-
getSlpMipNodes
public int getSlpMipNodes()
Retrieves the value of the attributeXPRSconstants.SLPMIPNODES
. Number of nodes explored in MISLP. This includes any nodes for which a non-linear solve has been carried out.- Returns:
-
Value of attribute
XPRSconstants.SLPMIPNODES
.
-
getSlpMipIter
public int getSlpMipIter()
Retrieves the value of the attributeXPRSconstants.SLPMIPITER
. Total number of SLP iterations in MISLP- Returns:
-
Value of attribute
XPRSconstants.SLPMIPITER
.
-
getSlpTolSets
public int getSlpTolSets()
Retrieves the value of the attributeXPRSconstants.SLPTOLSETS
. Number of tolerance sets.- Returns:
-
Value of attribute
XPRSconstants.SLPTOLSETS
.
-
getSlpECFCount
public int getSlpECFCount()
Retrieves the value of the attributeXPRSconstants.SLPECFCOUNT
. Number of infeasible constraints found at the point of linearization- Returns:
-
Value of attribute
XPRSconstants.SLPECFCOUNT
.
-
getSlpDeltas
public int getSlpDeltas()
Retrieves the value of the attributeXPRSconstants.SLPDELTAS
. Number of delta vectors created during augmentation- Returns:
-
Value of attribute
XPRSconstants.SLPDELTAS
.
-
getSlpZeroesReset
public int getSlpZeroesReset()
Retrieves the value of the attributeXPRSconstants.SLPZEROESRESET
. Number of placeholder entries set to zero- Returns:
-
Value of attribute
XPRSconstants.SLPZEROESRESET
.
-
getSlpZeroesTotal
public int getSlpZeroesTotal()
Retrieves the value of the attributeXPRSconstants.SLPZEROESTOTAL
. Number of potential zero placeholder entries- Returns:
-
Value of attribute
XPRSconstants.SLPZEROESTOTAL
.
-
getSlpZeroesRetained
public int getSlpZeroesRetained()
Retrieves the value of the attributeXPRSconstants.SLPZEROESRETAINED
. Number of potentially zero placeholders left untouched- Returns:
-
Value of attribute
XPRSconstants.SLPZEROESRETAINED
.
-
getSlpNonConstantCoeffs
public int getSlpNonConstantCoeffs()
Retrieves the value of the attributeXPRSconstants.SLPNONCONSTANTCOEFFS
. Number of coefficients in the augmented problem that might change between SLP iterations- Returns:
-
Value of attribute
XPRSconstants.SLPNONCONSTANTCOEFFS
.
-
getSlpMipSols
public int getSlpMipSols()
Retrieves the value of the attributeXPRSconstants.SLPMIPSOLS
. Number of integer solutions found in MISLP. This includes solutions found during the tree search or any heuristics.- Returns:
-
Value of attribute
XPRSconstants.SLPMIPSOLS
.
-
getNlpValidationIndex_K
public double getNlpValidationIndex_K()
Retrieves the value of the attributeXPRSconstants.NLPVALIDATIONINDEX_K
. Relative first order optimality validation index- Returns:
-
Value of attribute
XPRSconstants.NLPVALIDATIONINDEX_K
.
-
getSlpCurrentDeltaCost
public double getSlpCurrentDeltaCost()
Retrieves the value of the attributeXPRSconstants.SLPCURRENTDELTACOST
. Current value of penalty cost multiplier for penalty delta vectors- Returns:
-
Value of attribute
XPRSconstants.SLPCURRENTDELTACOST
.
-
getSlpCurrentErrorCost
public double getSlpCurrentErrorCost()
Retrieves the value of the attributeXPRSconstants.SLPCURRENTERRORCOST
. Current value of penalty cost multiplier for penalty error vectors- Returns:
-
Value of attribute
XPRSconstants.SLPCURRENTERRORCOST
.
-
getSlpPenaltyErrorTotal
public double getSlpPenaltyErrorTotal()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORTOTAL
. Total activity of penalty error vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYERRORTOTAL
.
-
getSlpPenaltyErrorValue
public double getSlpPenaltyErrorValue()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORVALUE
. Total penalty cost attributed to penalty error vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYERRORVALUE
.
-
getSlpPenaltyDeltaTotal
public double getSlpPenaltyDeltaTotal()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTATOTAL
. Total activity of penalty delta vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYDELTATOTAL
.
-
getSlpPenaltyDeltaValue
public double getSlpPenaltyDeltaValue()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAVALUE
. Total penalty cost attributed to penalty delta vectors- Returns:
-
Value of attribute
XPRSconstants.SLPPENALTYDELTAVALUE
.
-
-
© 2001-2025 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.