The Cplex..::..Goal type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExecute
This method must be implemented by the user to specify the logic of the goal.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetBestObjValue
Accesses the currently best known bound of all the remaining open nodes in a branch-and-cut tree.
Protected methodGetBranchType
Returns the type of branching Cplex is going to do at the current node unless overridden by the invoking goal.
Protected methodGetCutoff
Returns the cutoff for the objective value when nodes are being solved during branch-and-cut search.
Protected methodGetDirection
Returns the branch direction for a variable.
Protected methodGetDownPseudoCost
Returns the pseudo cost for branching down on the specified variable.
Protected methodGetFeasibilities(array<INumVar>[]()[][])
States whether the variables in the specified array are integer feasible, integer infeasible, or implied integer feasible in the current node solution.
Protected methodGetFeasibilities(array<INumVar>[]()[][], Int32, Int32)
States whether a number of variables, starting from the specified index, in the array are integer feasible, integer infeasible, or implied integer feasible in the current node solution.
Protected methodGetFeasibility
States whether the specified variable is integer feasible, integer infeasible, or implied integer feasible in the current node solution.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetIncumbentObjValue
Returns the objective value of the current best integer solution.
Protected methodGetIncumbentValue
Returns the value of variable var for the current best integer solution.
Protected methodGetIncumbentValues(array<INumVar>[]()[][])
Returns incumbent solution values for an array of variables.
Protected methodGetIncumbentValues(array<INumVar>[]()[][], Int32, Int32)
Returns the incumbent solution values for a set of variables.
Protected methodGetLB
Returns the current lower bound for the specified variable.
Protected methodGetLBs(array<INumVar>[]()[][])
Returns the current lower bounds for an array of variables.
Protected methodGetLBs(array<INumVar>[]()[][], Int32, Int32)
Returns the current lower bounds for a number of variables, starting from a specified index in an array.
Protected methodGetMIPRelativeGap
This method returns the relative objective gap of the active problem at the moment the callback is called.
Protected methodGetNbranches
Returns the number of branches that Cplex is going to create at the current node unless overridden by the invoking goal.
Protected methodGetNcuts
Returns the number of cuts of the specified type that have been added to the node relaxation at the moment the callback is called.
Protected methodGetNiterations
Returns the total number of iterations for solving node problems during the current optimization.
Protected methodGetNiterations64
Returns the total number of iterations for solving node problems during the current optimization.
Protected methodGetNnodes
Returns the number of nodes processed so far in the active branch-and-cut search.
Protected methodGetNnodes64
Returns the number of nodes processed so far in the active branch-and-cut search.
Protected methodGetNodeId
Returns the node identifier of the current node.
Protected methodGetNremainingNodes
Returns the number of nodes remaining to be processed, or, equivalently, the number of active nodes in the tree.
Protected methodGetNremainingNodes64
Returns the number of nodes remaining to be processed, or, equivalently, the number of active nodes in the tree.
Protected methodGetObjCoef
Returns the linear objective function coefficient for the specified variable in the model being solved.
Protected methodGetObjCoefs(array<INumVar>[]()[][])
Returns the linear objective function coefficients for an array of variables in the model being solved.
Protected methodGetObjCoefs(array<INumVar>[]()[][], Int32, Int32)
Returns the linear objective function coefficients for a number of variables, starting from the specified index in an array of variables in the model being solved.
Protected methodGetObjValue
Returns the objective function value of the solution of the continuous relaxation of the current node.
Protected methodGetPriority
Returns the branch priority for the specified variable.
Protected methodGetSlack
Returns the slack value of a constraint for the solution of the continuous relaxation of the current node.
Protected methodGetSlacks(array<IRange>[]()[][])
Returns the slack values for an array of constraints for the solution of the current node.
Protected methodGetSlacks(array<IRange>[]()[][], Int32, Int32)
Returns the slack values for a number of constraints, starting at the specified index, in an array of constraints for the solution of the current node.
Protected methodGetSOSFeasibility(ISOS1)
States whether the special ordered set of type 1 (SOS1) is integer feasible, integer infeasible, or implied integer feasible in the current node solution.
Protected methodGetSOSFeasibility(ISOS2)
States whether the special ordered set of type 2 (SOS2) is integer feasible, integer infeasible, or implied integer feasible in the current node solution.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetUB
Returns the current upper bound for the specified variable.
Protected methodGetUBs(array<INumVar>[]()[][])
Returns the current upper bounds for an array of variables.
Protected methodGetUBs(array<INumVar>[]()[][], Int32, Int32)
Returns the current upper bounds for a number of variables, starting from the specified index in the array.
Protected methodGetUpPseudoCost
Returns the pseudo cost for branching up on the specified variable.
Protected methodGetValue(INumExpr)
Returns the value that a specified expression takes for the solution of the current node relaxation.
Protected methodGetValue(INumVar)
Returns the solution value of a variable at the current node.
Protected methodGetValues(array<INumVar>[]()[][])
Returns the solution values for an array of variables at the current node.
Protected methodGetValues(array<INumVar>[]()[][], Int32, Int32)
Returns the solution values for a number of variables, starting at the specified index, in an array of variables at the current node.
Protected methodHasIncumbent
Returns true if an incumbent solution has been found.
Protected methodIsIntegerFeasible
Returns true if the current solution is integer feasible.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also