The Cplex..::..Goal type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Execute |
This method must be implemented by the user to specify the logic
of the goal.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetBestObjValue |
Accesses the currently best known bound
of all the remaining open nodes in a branch-and-cut tree.
| |
| GetBranchType |
Returns the type of branching Cplex is going to do at
the current node unless overridden by the invoking goal.
| |
| GetCutoff |
Returns the cutoff for the objective value when nodes are
being solved during branch-and-cut search.
| |
| GetDirection |
Returns the branch direction for a variable.
| |
| GetDownPseudoCost |
Returns the pseudo cost for branching down on the specified variable.
| |
| GetFeasibilities(array<INumVar>[]()[][]) |
States whether the variables in the specified array
are integer feasible, integer infeasible, or implied
integer feasible in the current node solution.
| |
| GetFeasibilities(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.
| |
| GetFeasibility |
States whether the specified variable is integer feasible,
integer infeasible, or implied integer feasible in the current node
solution.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetIncumbentObjValue |
Returns the objective value of the current best integer solution.
| |
| GetIncumbentValue |
Returns the value of variable var for the current best
integer solution.
| |
| GetIncumbentValues(array<INumVar>[]()[][]) |
Returns incumbent solution values for an array of variables.
| |
| GetIncumbentValues(array<INumVar>[]()[][], Int32, Int32) |
Returns the incumbent solution values for a set of variables.
| |
| GetLB |
Returns the current lower bound for the specified variable.
| |
| GetLBs(array<INumVar>[]()[][]) |
Returns the current lower bounds for an array of variables.
| |
| GetLBs(array<INumVar>[]()[][], Int32, Int32) |
Returns the current lower bounds for a number of variables,
starting from a specified index in an array.
| |
| GetMIPRelativeGap |
This method returns the relative objective gap
of the active problem at the moment the callback is called.
| |
| GetNbranches |
Returns the number of branches that Cplex
is going to create
at the current node unless overridden by the invoking goal.
| |
| GetNcuts |
Returns the number of cuts of the specified type
that have been added to the node
relaxation at the moment the callback is called.
| |
| GetNiterations |
Returns the total number of iterations for solving node problems
during the current optimization.
| |
| GetNiterations64 |
Returns the total number of iterations for solving node problems
during the current optimization.
| |
| GetNnodes |
Returns the number of nodes processed so far in the active
branch-and-cut search.
| |
| GetNnodes64 |
Returns the number of nodes processed so far in the active
branch-and-cut search.
| |
| GetNodeId |
Returns the node identifier of the current node.
| |
| GetNremainingNodes |
Returns the number of nodes remaining to be processed, or,
equivalently, the number of active nodes in the tree.
| |
| GetNremainingNodes64 |
Returns the number of nodes remaining to be processed, or,
equivalently, the number of active nodes in the tree.
| |
| GetObjCoef |
Returns the linear objective function coefficient for the
specified variable in the model being solved.
| |
| GetObjCoefs(array<INumVar>[]()[][]) |
Returns the linear objective function coefficients for an array of
variables in the model being solved.
| |
| GetObjCoefs(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.
| |
| GetObjValue |
Returns the objective function value of the solution of the continuous
relaxation of the current node.
| |
| GetPriority |
Returns the branch priority for the specified variable.
| |
| GetSlack |
Returns the slack value of a constraint for the solution of the
continuous relaxation of the current node.
| |
| GetSlacks(array<IRange>[]()[][]) |
Returns the slack values for an array of constraints
for the solution of the current node.
| |
| GetSlacks(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.
| |
| GetSOSFeasibility(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.
| |
| GetSOSFeasibility(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.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUB |
Returns the current upper bound for the specified variable.
| |
| GetUBs(array<INumVar>[]()[][]) |
Returns the current upper bounds for an array of variables.
| |
| GetUBs(array<INumVar>[]()[][], Int32, Int32) |
Returns the current upper bounds for a number of variables,
starting from the specified index in the array.
| |
| GetUpPseudoCost |
Returns the pseudo cost for branching up on the specified variable.
| |
| GetValue(INumExpr) |
Returns the value that a specified expression
takes for the solution of the current node relaxation.
| |
| GetValue(INumVar) |
Returns the solution value of a variable at the current node.
| |
| GetValues(array<INumVar>[]()[][]) |
Returns the solution values for an array of variables at the
current node.
| |
| GetValues(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.
| |
| HasIncumbent |
Returns true if an incumbent solution has been found.
| |
| IsIntegerFeasible |
Returns true if the current solution is integer feasible.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |