Initializing help system before first use

XPRSprob.Attributes

  • java.lang.Object
    • com.dashoptimization.XPRSprob.Attributes
    • Method Detail

      • getRows

        public int getRows()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.SETMEMBERS. Number of variables within special ordered sets (set members) in the matrix.
      • getElems

        public long getElems()
        Retrieves the value of the attribute XPRSconstants.ELEMS. Number of matrix nonzeros (elements).
      • getPrimalInfeas

        public int getPrimalInfeas()
        Retrieves the value of the attribute XPRSconstants.PRIMALINFEAS. Number of primal infeasibilities.
      • getDualInfeas

        public int getDualInfeas()
        Retrieves the value of the attribute XPRSconstants.DUALINFEAS. Number of dual infeasibilities.
      • getSimplexIter

        public int getSimplexIter()
        Retrieves the value of the attribute XPRSconstants.SIMPLEXITER. Number of simplex iterations performed.

        This attribute is used in the following examples:

        • Tableau
      • getCuts

        public int getCuts()
        Retrieves the value of the attribute XPRSconstants.CUTS. Number of cuts being added to the matrix.
      • getNodes

        public int getNodes()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.NODEDEPTH. Depth of the current node.
      • getActiveNodes

        public int getActiveNodes()
        Retrieves the value of the attribute XPRSconstants.ACTIVENODES. Number of outstanding nodes.

        This attribute is used in the following examples:

        • SaveSol
      • getMIPSolNode

        public int getMIPSolNode()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.SPARECOLS. Number of spare columns in the matrix.
      • getSpareElems

        public long getSpareElems()
        Retrieves the value of the attribute XPRSconstants.SPAREELEMS. Number of spare matrix elements in the matrix.
      • getSpareMIPEnts

        public int getSpareMIPEnts()
        Retrieves the value of the attribute XPRSconstants.SPAREMIPENTS. Number of spare MIP entities in the matrix.
      • getErrorCode

        public int getErrorCode()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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
      • getParentNode

        public int getParentNode()
        Retrieves the value of the attribute XPRSconstants.PARENTNODE. The parent node of the current node in the tree search.
      • getNameLength

        public int getNameLength()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.QELEMS. Number of quadratic non-zeros in the matrix.
      • getNumIIS

        public int getNumIIS()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.BRANCHVAR. The branching variable at a node of the Branch and Bound tree.
      • getMIPThreadID

        public int getMIPThreadID()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.ALGORITHM. The algorithm the optimizer currently is running / was running just before completition.
      • getOriginalRows

        public int getOriginalRows()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.SYSTEMMEMORY. The amount of non problem specific memory used by the solver.
      • getOriginalQElems

        public int getOriginalQElems()
        Retrieves the value of the attribute XPRSconstants.ORIGINALQELEMS. Number of quadratic non-zeros in the original matrix before presolving.
      • getMaxProbNameLength

        public int getMaxProbNameLength()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.STOPSTATUS. Status of the optimization process.
      • getOriginalMIPEnts

        public int getOriginalMIPEnts()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.ORIGINALSETS. Number of special ordered sets in the original matrix before presolving.
      • getOriginalSetMembers

        public long getOriginalSetMembers()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.SPARESETS. Number of spare sets in the matrix.
      • getSpareSetElems

        public long getSpareSetElems()
        Retrieves the value of the attribute XPRSconstants.SPARESETELEMS. Number of spare set elements in the matrix.
      • getChecksOnMaxTime

        public int getChecksOnMaxTime()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.QCELEMS. Number of quadratic row coefficients in the matrix.
      • getQConstraints

        public int getQConstraints()
        Retrieves the value of the attribute XPRSconstants.QCONSTRAINTS. Number of rows with quadratic coefficients in the matrix.
      • getOriginalQCElems

        public int getOriginalQCElems()
        Retrieves the value of the attribute XPRSconstants.ORIGINALQCELEMS. Number of quadratic row coefficients in the original matrix before presolving.
      • getOriginalQConstraints

        public int getOriginalQConstraints()
        Retrieves the value of the attribute XPRSconstants.ORIGINALQCONSTRAINTS. Number of rows with quadratic coefficients in the original matrix before presolving.
      • getPeakTotalTreeMemoryUsage

        public int getPeakTotalTreeMemoryUsage()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.INDICATORS. Number of indicator constrains in the problem.
      • getOriginalIndicators

        public int getOriginalIndicators()
        Retrieves the value of the attribute XPRSconstants.ORIGINALINDICATORS. Number of indicator constraints in the original matrix before presolving.
      • getCoresPerCPUDetected

        public int getCoresPerCPUDetected()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.CPUSDETECTED. Number of CPU units detected by the optimizer.
      • getCoresDetected

        public int getCoresDetected()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.PHYSICALCORESDETECTED. The total number of physical cores across all CPUs detected by the optimizer.
      • getPhysicalCoresPerCPUDetected

        public int getPhysicalCoresPerCPUDetected()
        Retrieves the value of the attribute XPRSconstants.PHYSICALCORESPERCPUDETECTED. The number of physical cores per CPU detected by the optimizer.
      • getBarSing

        public int getBarSing()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.CURRENTMEMORY. The amount of dynamically allocated heap memory by the problem being solved.
      • getPeakMemory

        public long getPeakMemory()
        Retrieves the value of the attribute XPRSconstants.PEAKMEMORY. An estimate of the peak amount of dynamically allocated heap memory by the problem.
      • getCones

        public int getCones()
        Retrieves the value of the attribute XPRSconstants.CONES. Number of second order and rotated second order cones in the problem.
      • getConeElems

        public int getConeElems()
        Retrieves the value of the attribute XPRSconstants.CONEELEMS. Number of second order cone coefficients in the problem.
      • getTotalMemory

        public long getTotalMemory()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.AVAILABLEMEMORY. The amount of heap memory detected by Xpress as free.
      • getPwlCons

        public int getPwlCons()
        Retrieves the value of the attribute XPRSconstants.PWLCONS. Number of piecewise linear constraints in the problem.
      • getPwlPoints

        public long getPwlPoints()
        Retrieves the value of the attribute XPRSconstants.PWLPOINTS. Number of breakpoints of piecewise linear constraints in the problem.
      • getGenCons

        public int getGenCons()
        Retrieves the value of the attribute XPRSconstants.GENCONS. Number of general constraints in the problem.
      • getGenConCols

        public long getGenConCols()
        Retrieves the value of the attribute XPRSconstants.GENCONCOLS. Number of input variables in general constraints in the problem.
      • getGenConVals

        public long getGenConVals()
        Retrieves the value of the attribute XPRSconstants.GENCONVALS. Number of constant values in general constraints in the problem.
      • getTreeRestarts

        public int getTreeRestarts()
        Retrieves the value of the attribute XPRSconstants.TREERESTARTS. Number of in-tree restarts performed.
      • getOriginalPwls

        public int getOriginalPwls()
        Retrieves the value of the attribute XPRSconstants.ORIGINALPWLS. Number of piecewise linear constraints in the original problem before presolving.
      • getOriginalPwlpoints

        public long getOriginalPwlpoints()
        Retrieves the value of the attribute XPRSconstants.ORIGINALPWLPOINTS. Number of breakpoints of piecewise linear constraints in the original problem before presolving.
      • getOriginalGencons

        public int getOriginalGencons()
        Retrieves the value of the attribute XPRSconstants.ORIGINALGENCONS. Number of general constraints in the original problem before presolving.
      • getOriginalGenconCols

        public long getOriginalGenconCols()
        Retrieves the value of the attribute XPRSconstants.ORIGINALGENCONCOLS. Number of input variables in general constraints in the original problem before presolving.
      • getOriginalGenconVals

        public long getOriginalGenconVals()
        Retrieves the value of the attribute XPRSconstants.ORIGINALGENCONVALS. Number of constant values in general constraints in the original problem before presolving.
      • getComputeExecutions

        public int getComputeExecutions()
        Retrieves the value of the attribute XPRSconstants.COMPUTEEXECUTIONS. The number of solves executed on a compute server.
      • getMemoryLimitDetected

        public long getMemoryLimitDetected()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.RESTARTS. Total number of restarts performed.
      • getGlobalBoundingboxApplied

        public int getGlobalBoundingboxApplied()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.OBJECTIVES. Number of objectives in the problem.
      • getSolvedObjs

        public int getSolvedObjs()
        Retrieves the value of the attribute XPRSconstants.SOLVEDOBJS. Number of objectives that have been solved so far during a multi-objective solve.
      • getObjsToSolve

        public int getObjsToSolve()
        Retrieves the value of the attribute XPRSconstants.OBJSTOSOLVE. Number of objectives that will be solved during the current multi-objective solve.
      • getGlobalNLPInfeas

        public int getGlobalNLPInfeas()
        Retrieves the value of the attribute XPRSconstants.GLOBALNLPINFEAS. Number of nonlinear infeasibilities at the current node of a global solve, measured as the number of violated atomic formulas.
      • getMIPSolTime

        public double getMIPSolTime()
        Retrieves the value of the attribute XPRSconstants.MIPSOLTIME. Time at which the last integer feasible solution was found.
      • getTime

        public double getTime()
        Retrieves the value of the attribute XPRSconstants.TIME. Time spent solving the problem as measured by the optimizer.
      • getLPObjVal

        public double getLPObjVal()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.SUMPRIMALINF. Scaled sum of primal infeasibilities.
      • getMIPObjVal

        public double getMIPObjVal()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.OBJRHS. Fixed part of the objective function.
      • getMIPBestObjVal

        public double getMIPBestObjVal()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.OBJSENSE. Sense of the optimization being performed.
      • getBranchValue

        public double getBranchValue()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.CURRMIPCUTOFF. The current MIP cut off.
      • getBarCondA

        public double getBarCondA()
        Retrieves the value of the attribute XPRSconstants.BARCONDA. Absolute condition measure calculated in the last iteration of the barrier algorithm.
      • getBarCondD

        public double getBarCondD()
        Retrieves the value of the attribute XPRSconstants.BARCONDD. Condition measure calculated in the last iteration of the barrier algorithm.
      • getMaxAbsPrimalInfeas

        public double getMaxAbsPrimalInfeas()
        Retrieves the value of the attribute XPRSconstants.MAXABSPRIMALINFEAS. Maximum calculated absolute primal infeasibility in the unscaled original problem.
      • getMaxRelPrimalInfeas

        public double getMaxRelPrimalInfeas()
        Retrieves the value of the attribute XPRSconstants.MAXRELPRIMALINFEAS. Maximum calculated relative primal infeasibility in the unscaled original problem.
      • getMaxAbsDualInfeas

        public double getMaxAbsDualInfeas()
        Retrieves the value of the attribute XPRSconstants.MAXABSDUALINFEAS. Maximum calculated absolute dual infeasibility in the unscaled original problem.
      • getMaxRelDualInfeas

        public double getMaxRelDualInfeas()
        Retrieves the value of the attribute XPRSconstants.MAXRELDUALINFEAS. Maximum calculated relative dual infeasibility in the unscaled original problem.
      • getPrimalDualIntegral

        public double getPrimalDualIntegral()
        Retrieves the value of the attribute XPRSconstants.PRIMALDUALINTEGRAL. Value of the primal-dual integral.
      • getMaxMipInfeas

        public double getMaxMipInfeas()
        Retrieves the value of the attribute XPRSconstants.MAXMIPINFEAS. Maximum integer fractionality in the solution.
      • getAttentionLevel

        public double getAttentionLevel()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.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 attribute XPRSconstants.OBSERVEDPRIMALINTEGRAL. Value of the (observed) primal integral.
      • getCpiScaleFactor

        public double getCpiScaleFactor()
        Retrieves the value of the attribute XPRSconstants.CPISCALEFACTOR. scale factor from primal integral computation.
      • getObjVal

        public double getObjVal()
        Retrieves the value of the attribute XPRSconstants.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 attribute XPRSconstants.MATRIXNAME. The matrix name.
      • getBoundName

        public java.lang.String getBoundName()
        Retrieves the value of the attribute XPRSconstants.BOUNDNAME. Active bound name.
      • getObjName

        @Deprecated
        public java.lang.String getObjName()
        Deprecated. 
        Retrieves the value of the attribute XPRSconstants.OBJNAME.
      • getRHSName

        public java.lang.String getRHSName()
        Retrieves the value of the attribute XPRSconstants.RHSNAME. Active right hand side name.
      • getRangeName

        public java.lang.String getRangeName()
        Retrieves the value of the attribute XPRSconstants.RANGENAME. Active range name.
      • getXpressVersion

        public java.lang.String getXpressVersion()
        Retrieves the value of the attribute XPRSconstants.XPRESSVERSION. The Xpress version number.
      • getUUID

        public java.lang.String getUUID()
        Retrieves the value of the attribute XPRSconstants.UUID. Universally Unique Identifier for the problem instance.
      • getBarPrimalObj

        public double getBarPrimalObj()
        Retrieves the value of the attribute XPRSconstants.BARPRIMALOBJ. Primal objective value calculated by the Newton barrier algorithm.
      • getBarDualObj

        public double getBarDualObj()
        Retrieves the value of the attribute XPRSconstants.BARDUALOBJ. Dual objective value calculated by the Newton barrier algorithm.
      • getBarPrimalInf

        public double getBarPrimalInf()
        Retrieves the value of the attribute XPRSconstants.BARPRIMALINF. Sum of the primal infeasibilities for the Newton barrier algorithm.
      • getBarDualInf

        public double getBarDualInf()
        Retrieves the value of the attribute XPRSconstants.BARDUALINF. Sum of the dual infeasibilities for the Newton barrier algorithm.
      • getBarCGap

        public double getBarCGap()
        Retrieves the value of the attribute XPRSconstants.BARCGAP. Convergence criterion for the Newton barrier algorithm.
      • getBarIter

        public int getBarIter()
        Retrieves the value of the attribute XPRSconstants.BARITER. Number of Newton barrier iterations.
      • getBarAASize

        public long getBarAASize()
        Retrieves the value of the attribute XPRSconstants.BARAASIZE. Number of nonzeros in AA T.
      • getBarLSize

        public long getBarLSize()
        Retrieves the value of the attribute XPRSconstants.BARLSIZE. Number of nonzeros in L resulting from the Cholesky factorization.
      • getBarDenseCol

        public int getBarDenseCol()
        Retrieves the value of the attribute XPRSconstants.BARDENSECOL. Number of dense columns found in the matrix.
      • getBarCrossover

        public int getBarCrossover()
        Retrieves the value of the attribute XPRSconstants.BARCROSSOVER. Indicates whether or not the basis crossover phase has been entered.

© 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.