Class CplexBranchingEventArgs
An event that represents a branching decision.
Inheritance
System.Object
System.EventArgs
CplexBranchingEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: OPTANO.Modeling.Optimization.Solver.Cplex
Assembly: Optimization.Solver.Cplex.dll
Syntax
public class CplexBranchingEventArgs : EventArgs
Constructors
CplexBranchingEventArgs(CplexBranches, Action, Action, Int32, Double)
Initializes a new instance of the CplexBranchingEventArgs class.
Declaration
public CplexBranchingEventArgs(CplexBranches branches, Action prune, Action abort, int remainingNodesCount, double objectiveValue)
Parameters
Type | Name | Description |
---|---|---|
CplexBranches | branches | The branches. |
System.Action | prune | The prune. |
System.Action | abort | The abort. |
System.Int32 | remainingNodesCount | The remaining nodes count. |
System.Double | objectiveValue | The objective Value. |
Properties
Branches
Gets or sets the branches received from the solver.
Declaration
public CplexBranches Branches { get; set; }
Property Value
Type | Description |
---|---|
CplexBranches |
ObjectiveValue
Gets or sets the objective value.
Declaration
public double ObjectiveValue { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RemainingNodesCount
Gets or sets the remaining unexplored node count.
Declaration
public int RemainingNodesCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Abort()
Aborts the current node.
Declaration
public void Abort()
Prune()
Removes the current node from the search tree.
Declaration
public void Prune()