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 and 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
.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
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
.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_K()
Retrieves the value of the attributeXPRSconstants.NLPVALIDATIONINDEX_K
.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.double
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
.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
-
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
-
getSetMembers
public long getSetMembers()
Retrieves the value of the attributeXPRSconstants.SETMEMBERS
. Number of variables within special ordered sets (set members) in the matrix.
-
getElems
public long getElems()
Retrieves the value of the attributeXPRSconstants.ELEMS
. Number of matrix nonzeros (elements).
-
getPrimalInfeas
public int getPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.PRIMALINFEAS
. Number of primal infeasibilities.
-
getDualInfeas
public int getDualInfeas()
Retrieves the value of the attributeXPRSconstants.DUALINFEAS
. Number of dual infeasibilities.
-
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
-
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
-
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
-
getCuts
public int getCuts()
Retrieves the value of the attributeXPRSconstants.CUTS
. Number of cuts being added to the matrix.
-
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
-
getNodeDepth
public int getNodeDepth()
Retrieves the value of the attributeXPRSconstants.NODEDEPTH
. Depth of the current node.
-
getActiveNodes
public int getActiveNodes()
Retrieves the value of the attributeXPRSconstants.ACTIVENODES
. Number of outstanding nodes.This attribute is used in the following examples:
- SaveSol
-
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
-
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
-
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
- Polygon
- PolygonMap
- PolygonMapDelta
- PolygonMultiMap
- PolygonMultiMapDelta
- PolygonVecMap
- PolygonVecMapDelta
- Repair
- RoundInt
- SaveSol
- Tableau
- Trimloss
-
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
-
getSpareCols
public int getSpareCols()
Retrieves the value of the attributeXPRSconstants.SPARECOLS
. Number of spare columns in the matrix.
-
getSpareElems
public long getSpareElems()
Retrieves the value of the attributeXPRSconstants.SPAREELEMS
. Number of spare matrix elements in the matrix.
-
getSpareMIPEnts
public int getSpareMIPEnts()
Retrieves the value of the attributeXPRSconstants.SPAREMIPENTS
. Number of spare MIP entities in the matrix.
-
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 using getLastError, and all messages may be intercepted using the user output callback function; see addCbMessage.
-
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
- TSP
-
getPresolveState
public int getPresolveState()
Retrieves the value of the attributeXPRSconstants.PRESOLVESTATE
. Problem status as a bit map. (Values are from the enumerationXPRSenumerations.PresolveState
)
-
getParentNode
public int getParentNode()
Retrieves the value of the attributeXPRSconstants.PARENTNODE
. The parent node of the current node in the tree search.
-
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 allow 8*NAMELENGTH+1 characters per name (the +1 allows for the string terminator character).
-
getQElems
public int getQElems()
Retrieves the value of the attributeXPRSconstants.QELEMS
. Number of quadratic non-zeros in the matrix.
-
getNumIIS
public int getNumIIS()
Retrieves the value of the attributeXPRSconstants.NUMIIS
. Number of IISs found. You should first query the IISSOLSTATUS attribute to make sure that the IIS procedure terminated successfully.
-
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
-
getBranchVar
public int getBranchVar()
Retrieves the value of the attributeXPRSconstants.BRANCHVAR
. The branching variable at a node of the Branch and Bound tree.
-
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
-
getAlgorithm
public int getAlgorithm()
Retrieves the value of the attributeXPRSconstants.ALGORITHM
. The algorithm the optimizer currently is running / was running just before completition.
-
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:
- GoalProg
-
getOriginalRows
public int getOriginalRows()
Retrieves the value of the attributeXPRSconstants.ORIGINALROWS
. Number of rows (i.e. constraints) in the original matrix before presolving.This attribute is used in the following examples:
- Repair
-
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 by addCbOptnode 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
-
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 by addCbCutmgr 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.
-
getSystemMemory
public long getSystemMemory()
Retrieves the value of the attributeXPRSconstants.SYSTEMMEMORY
. The amount of non problem specific memory used by the solver.
-
getOriginalQElems
public int getOriginalQElems()
Retrieves the value of the attributeXPRSconstants.ORIGINALQELEMS
. Number of quadratic non-zeros in the original matrix before presolving.
-
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.
-
getStopStatus
public int getStopStatus()
Retrieves the value of the attributeXPRSconstants.STOPSTATUS
. Status of the optimization process.
-
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.
-
getOriginalSets
public int getOriginalSets()
Retrieves the value of the attributeXPRSconstants.ORIGINALSETS
. Number of special ordered sets in the original matrix before presolving.
-
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.
-
getSpareSets
public int getSpareSets()
Retrieves the value of the attributeXPRSconstants.SPARESETS
. Number of spare sets in the matrix.
-
getSpareSetElems
public long getSpareSetElems()
Retrieves the value of the attributeXPRSconstants.SPARESETELEMS
. Number of spare set elements in the matrix.
-
getChecksOnMaxTime
public int getChecksOnMaxTime()
Retrieves the value of the attributeXPRSconstants.CHECKSONMAXTIME
. This attribute is used to set the value of the MAXCHECKSONMAXTIME control. Its value is the number of times the optimizer checked the MAXTIME criterion during the last call to the optimization routine mipOptimize. If a run terminates on the MAXTIME criterion then the attribute is the negative of the number of times the optimizer checked the MAXTIME 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.
-
getChecksOnMaxCutTime
public int getChecksOnMaxCutTime()
Retrieves the value of the attributeXPRSconstants.CHECKSONMAXCUTTIME
. This attribute is used to set the value of the MAXCHECKSONMAXCUTTIME control. Its value is the number of times the optimizer checked the MAXCUTTIME criterion during the last call to the optimization routine mipOptimize. If a run terminates cutting operations on the MAXCUTTIME criterion then the attribute is the negative of the number of times the optimizer checked the MAXCUTTIME 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.
-
getOriginalCols
public int getOriginalCols()
Retrieves the value of the attributeXPRSconstants.ORIGINALCOLS
. Number of columns (i.e. variables) in the original matrix before presolving.This attribute is used in the following examples:
- Repair
-
getQCElems
public int getQCElems()
Retrieves the value of the attributeXPRSconstants.QCELEMS
. Number of quadratic row coefficients in the matrix.
-
getQConstraints
public int getQConstraints()
Retrieves the value of the attributeXPRSconstants.QCONSTRAINTS
. Number of rows with quadratic coefficients in the matrix.
-
getOriginalQCElems
public int getOriginalQCElems()
Retrieves the value of the attributeXPRSconstants.ORIGINALQCELEMS
. Number of quadratic row coefficients in the original matrix before presolving.
-
getOriginalQConstraints
public int getOriginalQConstraints()
Retrieves the value of the attributeXPRSconstants.ORIGINALQCONSTRAINTS
. Number of rows with quadratic coefficients in the original matrix before presolving.
-
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.
-
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
-
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.
-
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 the TREEFILEUSAGE attribute).
-
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 the TREEFILESIZE attribute) may be greater than this value.
-
getIndicators
public int getIndicators()
Retrieves the value of the attributeXPRSconstants.INDICATORS
. Number of indicator constrains in the problem.
-
getOriginalIndicators
public int getOriginalIndicators()
Retrieves the value of the attributeXPRSconstants.ORIGINALINDICATORS
. Number of indicator constraints in the original matrix before presolving.
-
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.
-
getCPUsDetected
public int getCPUsDetected()
Retrieves the value of the attributeXPRSconstants.CPUSDETECTED
. Number of CPU units detected by the optimizer.
-
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
-
getPhysicalCoresDetected
public int getPhysicalCoresDetected()
Retrieves the value of the attributeXPRSconstants.PHYSICALCORESDETECTED
. The total number of physical cores across all CPUs detected by the optimizer.
-
getPhysicalCoresPerCPUDetected
public int getPhysicalCoresPerCPUDetected()
Retrieves the value of the attributeXPRSconstants.PHYSICALCORESPERCPUDETECTED
. The number of physical cores per CPU detected by the optimizer.
-
getOptimizeTypeUsed
public XPRSenumerations.OptimizeType getOptimizeTypeUsed()
Retrieves the value of the attributeXPRSconstants.OPTIMIZETYPEUSED
. The type of solver used in the last call to optimize, mipOptimize, lpOptimize or nlpOptimize. (Values are from the enumerationXPRSenumerations.OptimizeType
)
-
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.
-
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.
-
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.
-
getCurrentMemory
public long getCurrentMemory()
Retrieves the value of the attributeXPRSconstants.CURRENTMEMORY
. The amount of dynamically allocated heap memory by the problem being solved.
-
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.
-
getCones
public int getCones()
Retrieves the value of the attributeXPRSconstants.CONES
. Number of second order and rotated second order cones in the problem.
-
getConeElems
public int getConeElems()
Retrieves the value of the attributeXPRSconstants.CONEELEMS
. Number of second order cone coefficients in the problem.
-
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.
-
getAvailableMemory
public long getAvailableMemory()
Retrieves the value of the attributeXPRSconstants.AVAILABLEMEMORY
. The amount of heap memory detected by Xpress as free.
-
getPwlCons
public int getPwlCons()
Retrieves the value of the attributeXPRSconstants.PWLCONS
. Number of piecewise linear constraints in the problem.
-
getPwlPoints
public long getPwlPoints()
Retrieves the value of the attributeXPRSconstants.PWLPOINTS
. Number of breakpoints of piecewise linear constraints in the problem.
-
getGenCons
public int getGenCons()
Retrieves the value of the attributeXPRSconstants.GENCONS
. Number of general constraints in the problem.
-
getGenConCols
public long getGenConCols()
Retrieves the value of the attributeXPRSconstants.GENCONCOLS
. Number of input variables in general constraints in the problem.
-
getGenConVals
public long getGenConVals()
Retrieves the value of the attributeXPRSconstants.GENCONVALS
. Number of constant values in general constraints in the problem.
-
getTreeRestarts
public int getTreeRestarts()
Retrieves the value of the attributeXPRSconstants.TREERESTARTS
. Number of in-tree restarts performed.
-
getOriginalPwls
public int getOriginalPwls()
Retrieves the value of the attributeXPRSconstants.ORIGINALPWLS
. Number of piecewise linear constraints in the original problem before presolving.
-
getOriginalPwlpoints
public long getOriginalPwlpoints()
Retrieves the value of the attributeXPRSconstants.ORIGINALPWLPOINTS
. Number of breakpoints of piecewise linear constraints in the original problem before presolving.
-
getOriginalGencons
public int getOriginalGencons()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONS
. Number of general constraints in the original problem before presolving.
-
getOriginalGenconCols
public long getOriginalGenconCols()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONCOLS
. Number of input variables in general constraints in the original problem before presolving.
-
getOriginalGenconVals
public long getOriginalGenconVals()
Retrieves the value of the attributeXPRSconstants.ORIGINALGENCONVALS
. Number of constant values in general constraints in the original problem before presolving.
-
getComputeExecutions
public int getComputeExecutions()
Retrieves the value of the attributeXPRSconstants.COMPUTEEXECUTIONS
. The number of solves executed on a compute server.
-
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).
-
getRestarts
public int getRestarts()
Retrieves the value of the attributeXPRSconstants.RESTARTS
. Total number of restarts performed.
-
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:
- GoalProg
-
getGlobalBoundingboxApplied
public int getGlobalBoundingboxApplied()
Retrieves the value of the attributeXPRSconstants.GLOBALBOUNDINGBOXAPPLIED
. Whether a bounding box equal to the absolute value of the GLOBALBOUNDINGBOX control was applied to the problem after the initial solve came back infeasible and if so, to which variables.
-
getObjectives
public int getObjectives()
Retrieves the value of the attributeXPRSconstants.OBJECTIVES
. Number of objectives in the problem.
-
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.
-
getObjsToSolve
public int getObjsToSolve()
Retrieves the value of the attributeXPRSconstants.OBJSTOSOLVE
. Number of objectives that will be solved during the current multi-objective solve.
-
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.
-
getIISSolStatus
public XPRSenumerations.IISSolStatus getIISSolStatus()
Retrieves the value of the attributeXPRSconstants.IISSOLSTATUS
. IIS solution status. (Values are from the enumerationXPRSenumerations.IISSolStatus
)
-
getMIPSolTime
public double getMIPSolTime()
Retrieves the value of the attributeXPRSconstants.MIPSOLTIME
. Time at which the last integer feasible solution was found.
-
getTime
public double getTime()
Retrieves the value of the attributeXPRSconstants.TIME
. Time spent solving the problem as measured by the optimizer.
-
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
-
getSumPrimalInf
public double getSumPrimalInf()
Retrieves the value of the attributeXPRSconstants.SUMPRIMALINF
. Scaled sum of primal infeasibilities.
-
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
- SaveSol
- Trimloss
-
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
-
getObjRHS
public double getObjRHS()
Retrieves the value of the attributeXPRSconstants.OBJRHS
. Fixed part of the objective function.
-
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:
- TSP
-
getOBJSense
public double getOBJSense()
Retrieves the value of the attributeXPRSconstants.OBJSENSE
. Sense of the optimization being performed.
-
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.
-
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.
-
getCurrMipCutOff
public double getCurrMipCutOff()
Retrieves the value of the attributeXPRSconstants.CURRMIPCUTOFF
. The current MIP cut off.
-
getBarCondA
public double getBarCondA()
Retrieves the value of the attributeXPRSconstants.BARCONDA
. Absolute condition measure calculated in the last iteration of the barrier algorithm.
-
getBarCondD
public double getBarCondD()
Retrieves the value of the attributeXPRSconstants.BARCONDD
. Condition measure calculated in the last iteration of the barrier algorithm.
-
getMaxAbsPrimalInfeas
public double getMaxAbsPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.MAXABSPRIMALINFEAS
. Maximum calculated absolute primal infeasibility in the unscaled original problem.
-
getMaxRelPrimalInfeas
public double getMaxRelPrimalInfeas()
Retrieves the value of the attributeXPRSconstants.MAXRELPRIMALINFEAS
. Maximum calculated relative primal infeasibility in the unscaled original problem.
-
getMaxAbsDualInfeas
public double getMaxAbsDualInfeas()
Retrieves the value of the attributeXPRSconstants.MAXABSDUALINFEAS
. Maximum calculated absolute dual infeasibility in the unscaled original problem.
-
getMaxRelDualInfeas
public double getMaxRelDualInfeas()
Retrieves the value of the attributeXPRSconstants.MAXRELDUALINFEAS
. Maximum calculated relative dual infeasibility in the unscaled original problem.
-
getPrimalDualIntegral
public double getPrimalDualIntegral()
Retrieves the value of the attributeXPRSconstants.PRIMALDUALINTEGRAL
. Value of the primal-dual integral.
-
getMaxMipInfeas
public double getMaxMipInfeas()
Retrieves the value of the attributeXPRSconstants.MAXMIPINFEAS
. Maximum integer fractionality in the solution.
-
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 by MIPKAPPAFREQ, with a setting of 1 being the most frequent sampling rate. The higher the attention level, the worse conditioned is the problem.
-
getMaxKappa
public double getMaxKappa()
Retrieves the value of the attributeXPRSconstants.MAXKAPPA
. Largest basis condition number (also known as kappa) calculated through all nodes sampled by MIPKAPPAFREQ.
-
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.
-
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 actual ATTENTIONLEVEL which will only be computed if MIPKAPPAFREQ 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.
-
getObservedPrimalIntegral
public double getObservedPrimalIntegral()
Retrieves the value of the attributeXPRSconstants.OBSERVEDPRIMALINTEGRAL
. Value of the (observed) primal integral.
-
getCpiScaleFactor
public double getCpiScaleFactor()
Retrieves the value of the attributeXPRSconstants.CPISCALEFACTOR
. scale factor from primal integral computation.
-
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:
- Polygon
- PolygonMap
- PolygonMapDelta
- PolygonMultiMap
- PolygonMultiMapDelta
- PolygonVecMap
- PolygonVecMapDelta
-
getMatrixName
public java.lang.String getMatrixName()
Retrieves the value of the attributeXPRSconstants.MATRIXNAME
. The matrix name.
-
getBoundName
public java.lang.String getBoundName()
Retrieves the value of the attributeXPRSconstants.BOUNDNAME
. Active bound name.
-
getObjName
@Deprecated public java.lang.String getObjName()
Deprecated.Retrieves the value of the attributeXPRSconstants.OBJNAME
.
-
getRHSName
public java.lang.String getRHSName()
Retrieves the value of the attributeXPRSconstants.RHSNAME
. Active right hand side name.
-
getRangeName
public java.lang.String getRangeName()
Retrieves the value of the attributeXPRSconstants.RANGENAME
. Active range name.
-
getXpressVersion
public java.lang.String getXpressVersion()
Retrieves the value of the attributeXPRSconstants.XPRESSVERSION
. The Xpress version number.
-
getUUID
public java.lang.String getUUID()
Retrieves the value of the attributeXPRSconstants.UUID
. Universally Unique Identifier for the problem instance.
-
getBarPrimalObj
public double getBarPrimalObj()
Retrieves the value of the attributeXPRSconstants.BARPRIMALOBJ
. Primal objective value calculated by the Newton barrier algorithm.
-
getBarDualObj
public double getBarDualObj()
Retrieves the value of the attributeXPRSconstants.BARDUALOBJ
. Dual objective value calculated by the Newton barrier algorithm.
-
getBarPrimalInf
public double getBarPrimalInf()
Retrieves the value of the attributeXPRSconstants.BARPRIMALINF
. Sum of the primal infeasibilities for the Newton barrier algorithm.
-
getBarDualInf
public double getBarDualInf()
Retrieves the value of the attributeXPRSconstants.BARDUALINF
. Sum of the dual infeasibilities for the Newton barrier algorithm.
-
getBarCGap
public double getBarCGap()
Retrieves the value of the attributeXPRSconstants.BARCGAP
. Convergence criterion for the Newton barrier algorithm.
-
getBarIter
public int getBarIter()
Retrieves the value of the attributeXPRSconstants.BARITER
. Number of Newton barrier iterations.
-
getBarAASize
public long getBarAASize()
Retrieves the value of the attributeXPRSconstants.BARAASIZE
. Number of nonzeros in AA T.
-
getBarLSize
public long getBarLSize()
Retrieves the value of the attributeXPRSconstants.BARLSIZE
. Number of nonzeros in L resulting from the Cholesky factorization.
-
getBarDenseCol
public int getBarDenseCol()
Retrieves the value of the attributeXPRSconstants.BARDENSECOL
. Number of dense columns found in the matrix.
-
getBarCrossover
public int getBarCrossover()
Retrieves the value of the attributeXPRSconstants.BARCROSSOVER
. Indicates whether or not the basis crossover phase has been entered.
-
getNlpOriginalRows
public int getNlpOriginalRows()
Retrieves the value of the attributeXPRSconstants.NLPORIGINALROWS
.
-
getNlpOriginalCols
public int getNlpOriginalCols()
Retrieves the value of the attributeXPRSconstants.NLPORIGINALCOLS
.
-
getNlpUFs
public int getNlpUFs()
Retrieves the value of the attributeXPRSconstants.NLPUFS
.
-
getNlpIfs
public int getNlpIfs()
Retrieves the value of the attributeXPRSconstants.NLPIFS
.
-
getNlpEqualsColumn
public int getNlpEqualsColumn()
Retrieves the value of the attributeXPRSconstants.NLPEQUALSCOLUMN
.
-
getNlpVariables
public int getNlpVariables()
Retrieves the value of the attributeXPRSconstants.NLPVARIABLES
.
-
getNlpImplicitVariables
public int getNlpImplicitVariables()
Retrieves the value of the attributeXPRSconstants.NLPIMPLICITVARIABLES
.
-
getNonLinearConstraints
public int getNonLinearConstraints()
Retrieves the value of the attributeXPRSconstants.NONLINEARCONSTRAINTS
.
-
getNlpUserFuncCalls
public int getNlpUserFuncCalls()
Retrieves the value of the attributeXPRSconstants.NLPUSERFUNCCALLS
.
-
getNlpUseDerivatives
public int getNlpUseDerivatives()
Retrieves the value of the attributeXPRSconstants.NLPUSEDERIVATIVES
.
-
getNlpKeepBestIter
public int getNlpKeepBestIter()
Retrieves the value of the attributeXPRSconstants.NLPKEEPBESTITER
.
-
getNlpStatus
public int getNlpStatus()
Retrieves the value of the attributeXPRSconstants.NLPSTATUS
.
-
getLocalSolverSelected
public int getLocalSolverSelected()
Retrieves the value of the attributeXPRSconstants.LOCALSOLVERSELECTED
.
-
getNlpModelRows
public int getNlpModelRows()
Retrieves the value of the attributeXPRSconstants.NLPMODELROWS
.
-
getNlpModelCols
public int getNlpModelCols()
Retrieves the value of the attributeXPRSconstants.NLPMODELCOLS
.
-
getNlpJobID
public int getNlpJobID()
Retrieves the value of the attributeXPRSconstants.NLPJOBID
.
-
getNlpStopStatus
public int getNlpStopStatus()
Retrieves the value of the attributeXPRSconstants.NLPSTOPSTATUS
.
-
getNlpPresolveEliminations
public int getNlpPresolveEliminations()
Retrieves the value of the attributeXPRSconstants.NLPPRESOLVEELIMINATIONS
.
-
getSlpIter
public int getSlpIter()
Retrieves the value of the attributeXPRSconstants.SLPITER
.
-
getSlpStatus
public int getSlpStatus()
Retrieves the value of the attributeXPRSconstants.SLPSTATUS
.
-
getSlpUnConverged
public int getSlpUnConverged()
Retrieves the value of the attributeXPRSconstants.SLPUNCONVERGED
.
-
getSlpSbxConverged
public int getSlpSbxConverged()
Retrieves the value of the attributeXPRSconstants.SLPSBXCONVERGED
.
-
getSlpPenaltyDeltaRow
public int getSlpPenaltyDeltaRow()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAROW
.
-
getSlpPenaltyDeltaColumn
public int getSlpPenaltyDeltaColumn()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTACOLUMN
.
-
getSlpPenaltyErrorRow
public int getSlpPenaltyErrorRow()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORROW
.
-
getSlpPenaltyErrorColumn
public int getSlpPenaltyErrorColumn()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORCOLUMN
.
-
getSlpCoefficients
public int getSlpCoefficients()
Retrieves the value of the attributeXPRSconstants.SLPCOEFFICIENTS
.
-
getSlpPenaltyDeltas
public int getSlpPenaltyDeltas()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAS
.
-
getSlpPenaltyErrors
public int getSlpPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORS
.
-
getSlpPlusPenaltyErrors
public int getSlpPlusPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPPLUSPENALTYERRORS
.
-
getSlpMinusPenaltyErrors
public int getSlpMinusPenaltyErrors()
Retrieves the value of the attributeXPRSconstants.SLPMINUSPENALTYERRORS
.
-
getSlpUCConstrainedCount
public int getSlpUCConstrainedCount()
Retrieves the value of the attributeXPRSconstants.SLPUCCONSTRAINEDCOUNT
.
-
getSlpMipNodes
public int getSlpMipNodes()
Retrieves the value of the attributeXPRSconstants.SLPMIPNODES
.
-
getSlpMipIter
public int getSlpMipIter()
Retrieves the value of the attributeXPRSconstants.SLPMIPITER
.
-
getSlpTolSets
public int getSlpTolSets()
Retrieves the value of the attributeXPRSconstants.SLPTOLSETS
.
-
getSlpECFCount
public int getSlpECFCount()
Retrieves the value of the attributeXPRSconstants.SLPECFCOUNT
.
-
getSlpDeltas
public int getSlpDeltas()
Retrieves the value of the attributeXPRSconstants.SLPDELTAS
.
-
getSlpZeroesReset
public int getSlpZeroesReset()
Retrieves the value of the attributeXPRSconstants.SLPZEROESRESET
.
-
getSlpZeroesTotal
public int getSlpZeroesTotal()
Retrieves the value of the attributeXPRSconstants.SLPZEROESTOTAL
.
-
getSlpZeroesRetained
public int getSlpZeroesRetained()
Retrieves the value of the attributeXPRSconstants.SLPZEROESRETAINED
.
-
getSlpNonConstantCoeffs
public int getSlpNonConstantCoeffs()
Retrieves the value of the attributeXPRSconstants.SLPNONCONSTANTCOEFFS
.
-
getSlpMipSols
public int getSlpMipSols()
Retrieves the value of the attributeXPRSconstants.SLPMIPSOLS
.
-
getNlpValidationIndex_K
public double getNlpValidationIndex_K()
Retrieves the value of the attributeXPRSconstants.NLPVALIDATIONINDEX_K
.
-
getSlpCurrentDeltaCost
public double getSlpCurrentDeltaCost()
Retrieves the value of the attributeXPRSconstants.SLPCURRENTDELTACOST
.
-
getSlpCurrentErrorCost
public double getSlpCurrentErrorCost()
Retrieves the value of the attributeXPRSconstants.SLPCURRENTERRORCOST
.
-
getSlpPenaltyErrorTotal
public double getSlpPenaltyErrorTotal()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORTOTAL
.
-
getSlpPenaltyErrorValue
public double getSlpPenaltyErrorValue()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYERRORVALUE
.
-
getSlpPenaltyDeltaTotal
public double getSlpPenaltyDeltaTotal()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTATOTAL
.
-
getSlpPenaltyDeltaValue
public double getSlpPenaltyDeltaValue()
Retrieves the value of the attributeXPRSconstants.SLPPENALTYDELTAVALUE
.
-
-
© 2001-2023 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.