ILOG CPLEX .NET Reference Manual

Cplex.Goal Members

Cplex.Goal overview

Public Instance Properties

BestObjValue Gets 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. 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.
Cutoff Gets 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.
IncumbentObjValue Gets the objective value of the current best integer solution. This property queries the objective value for the current incumbent solution (that is, the best integer solution found so far). It cannot be set.
Nnodes Gets the number of nodes processed so far in the active branch-and-cut search.
NremainingNodes Gets the number of nodes remaining to be processed, or, equivalently, the number of active nodes in the tree.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
Execute This method must be implemented by the user to specify the logic of the goal.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Constructors

Cplex.Goal Constructor Initializes a new instance of the Cplex.Goal class.

Protected Instance Properties

Nbranches Gets the fraction of completion of the fractional cut generation. The returned values are in the range of 0.0 to 1.0.
Ncliques Gets the number of clique cuts that have been added to the model during the current optimization. problem.
Ncovers Gets the number of cover cuts that have been added to the model during the current optimization. problem.
NdisjunctiveCuts Gets the number of disjunctive cuts that have been added to the model during the current optimization. problem.
NflowCovers Gets the number of flow cover cuts that have been added to the model during the current optimization. problem.
NflowPaths Gets the number of flow path cuts that have been added to the model during the current optimization. problem.
NfractionalCuts Gets the number of fractional cuts that have been added to the model during the current optimization. problem.
NGUBcovers Gets the number of GUB cover cuts that have been added to the model during the current optimization. problem.
NimpliedBounds Gets the number of implied bound cuts that have been added to the model during the current optimization. problem.
Niterations Gets the number of iterations performed so far.
NMIRs Gets the number of MIR cuts that have been added to the model during the current optimization. problem.
ObjValue Gets the objective function value of the solution of the continuous relaxation of the current model during the current optimization.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetBranchesOverloaded.  
GetBranchType Returns the type of branching Cplex is going to do at the current node unless overridden by the invoking goal.
GetDirection Returns the branch direction for a variable.
GetDownPseudoCost Returns the pseudo cost for branching down on variable var.
GetFeasibilitiesOverloaded. States whether the variables in array var are integer feasible, integer infeasible, or implied integer feasible in the current node solution.
GetFeasibility States whether the variable var is integer feasible, integer infeasible, or implied integer feasible in the current node solution.
GetIncumbentValue Returns the value of variable var for the current best integer solution.
GetIncumbentValuesOverloaded. Returns incumbent solution values for an array of variables.
GetLB Returns the current lower bound for variable var.
GetLBsOverloaded. Returns the current lower bounds for an array of variables.
GetNodeId Returns the node identifier of the current node.
GetObjCoef Returns the linear objective function coefficient for variable var in the model being solved.
GetObjCoefsOverloaded. Returns the linear objective function coefficients for an array of variables in the model being solved.
GetPriority Returns the branch priority for variable var.
GetSlack Returns the slack value of a constraint for the solution of the continuous relaxation of the current node.
GetSlacksOverloaded. Returns the slack values for an array of constraints for the solution of the current node.
GetSOSFeasibilityOverloaded. States whether the special ordered set of type 1 is integer feasible, integer infeasible, or implied integer feasible in the current node solution.
GetUB Returns the current upper bound for variable var.
GetUBsOverloaded. Returns the current upper bounds for an array of variables.
GetUpPseudoCost Returns the pseudo cost for branching up on variable var.
GetValueOverloaded. Returns the solution value of a variable at the current node.
GetValuesOverloaded. Returns the solution values for an array of variables at the current node.
HasIncumbent Returns true if an incumbent solution has been found.
IsIntegerFeasible Returns true if current solution is integer feasible
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Cplex.Goal Class | ILOG.CPLEX Namespace