The Cplex type exposes the following members.

Properties

  Name Description
Public property BestObjValue
This method returns a bound on the optimal solution value of the active problem. When a model has been solved to optimality, this value matches the optimal solution value. If a MIP optimization is terminated before optimality has been proven, this value is computed for a minimization (maximization) problem as the minimum (maximum) objective function value of all remaining unexplored nodes.
Public property CplexSubStatus
Returns the status of the IloCplex algorithm.
Public property Cutoff
Returns the cutoff for the objective value when nodes are being solved during branch-and-cut search. This value is typically computed from the objective value of an incumbent solution and the optimality gap. In the case of a minimization problem, for example, if the objective value of a node exceeds the cutoff value, the node can be pruned without the need to solve the node to optimality.
Public property Diverging
This method returns the diverging variable or constraint, in a case where the primal simplex algorithm has determined the problem to be infeasible.
Public property IncumbentNode
Returns the node number where the current incumbent was found.
Public property IsDualFeasible
Returns true if a dual feasible solution is available. If false is returned the solution may still be dual feasible, but the algorithm has not determined the feasibility before it terminated.
Public property IsMIP
Returns true if the active model is a MIP.
Public property IsPrimalFeasible
Returns true if a primal feasible solution is available for the current node. If false is returned the solution may still be primal feasible, but the algorithm has not determined the feasibility before it terminated.
Public property IsQC
Returns true if the active model has quadratic constraints. See the topic QCP in the IBM ILOG Cplex User's Manual for more detail about the characteristics of such constraints with respect to their concavity and positive semi-definiteness (PSD).
Public property IsQO
Returns true if the active model has a quadratic objective function.
Public property Model
Public property NbarrierIterations
Returns the number of barrier iterations from the last solve.
Public property NbinVars
Returns the number of binary (or Boolean) variables in the matrix representation of the active model. Note that the result is not necessarily equal to the number of Boolean variables in the active model, as some mapping of modeling objects may require the introduction of added matrix columns.
Public property Ncols
Returns the number of columns in the matrix representation of the active model. Note that the result may be greater than the number of variables in the active model, since some modeling objects may require more than one matrix column.
Public property NcrossDExch
Returns the number of dual exchange operations in the crossover of the last solve.
Public property NcrossDPush
Returns the number of dual push operations in the crossover of the last solve.
Public property NcrossPExch
Returns the number of primal exchange operations in the crossover of the last solve.
Public property NcrossPPush
Returns the number of primal push operations in the crossover of the last solve.
Public property NdualSuperbasics
Returns the number of dual superbasic variables in the basis.
Public property Nindicators
Public property NintVars
Returns the number of integer variables in the matrix representation of the active model. Note that the result is not necessarily equal to the number of integer variables in the active model, as some mapping of modeling objects may require the introduction of added matrix columns.
Public property Niterations
Returns the number of iterations from the last solve.
Public property NLCs
Public property Nnodes
Returns the number of branch-and-cut nodes explored in solving the active model.
Public property NnodesLeft
Returns the number of unexplored nodes in the branch-and-cut tree.
Public property NNZs
Returns the number of nonzero elements in the matrix representation of the active model.
Public property NphaseOneIterations
Returns the number of phase I simplex iterations from the last solve.
Public property NprimalSuperbasics
Returns the number of primal superbasic variables in the basis.
Public property NQCs
Returns the number of quadratic constraints in the active model. Note that the result may be different from the number of constraints in the active model, since linear constraints are counted separately.
Public property Nrows
Returns the number of rows of the matrix representation of the active model. Note that the result may be different than the number of constraints in the active model, as some modeling objects may require more than one matrix row and quadratic constraints are not accounted for as rows.
Public property NsemiContVars
Returns the number of semi-continuous variables in the matrix representation of the active model.
Public property NsemiIntVars
Returns the number of semi-integer variables in the matrix representation of the active model.
Public property NsiftingIterations
Returns the number of sifting iterations from the last solve.
Public property NsiftingPhaseOneIterations
Returns the number of sifting phase I iterations from the last solve.
Public property NSOS1
Returns the number of
CopyC#
SOS
s of type 1 in the active model.
Public property NSOS2
Returns the number of
CopyC#
SOS
s of type 2 in the active model.
Public property NSOSs
Returns the number of
CopyC#
SOS
s of both types, 1 and 2 in the active model.
Public property NUCs
Public property ObjValue
Returns the objective value of the current solution.
Public property SolnPoolMeanObjValue

Computes the mean of the objective values of the solutions currently in the solution pool.

Public property SolnPoolNreplaced
Accesses the number of solutions that have been replaced according to the solution pool replacement strategy.
Public property SolnPoolNsolns
Accesses the number of solutions currently in the solution pool.
Public property SubAlgorithm
Returns the algorithm that was used to generate the solution of the last branch-and-cut node solved during a MIP solve.
Public property Version
Returns a string that indicates the version of Cplex.

See Also