ILOG CPLEX .NET Reference Manual

Cplex.Goal Methods

The methods of the Cplex.Goal class are listed below. For a complete list of Cplex.Goal class members, see the Cplex.Goal Members topic.

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