SimplexSolverParams.NotifyEndPivot Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the callback function called after the pivot.

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Overridable Function NotifyEndPivot ( _
    threadIndex As Integer, _
    stat As ILinearSimplexStatistics, _
    pi As ISimplexPivotInformation _
) As Boolean
public virtual bool NotifyEndPivot(
    int threadIndex,
    ILinearSimplexStatistics stat,
    ISimplexPivotInformation pi
)
public:
virtual bool NotifyEndPivot(
    int threadIndex, 
    ILinearSimplexStatistics^ stat, 
    ISimplexPivotInformation^ pi
)
abstract NotifyEndPivot : 
        threadIndex:int * 
        stat:ILinearSimplexStatistics * 
        pi:ISimplexPivotInformation -> bool 
override NotifyEndPivot : 
        threadIndex:int * 
        stat:ILinearSimplexStatistics * 
        pi:ISimplexPivotInformation -> bool 
public function NotifyEndPivot(
    threadIndex : int, 
    stat : ILinearSimplexStatistics, 
    pi : ISimplexPivotInformation
) : boolean

Parameters

  • threadIndex
    Type: System.Int32
    The thread identifier for the simplex solver.

Return Value

Type: System.Boolean
true if the solver will continue computing the pivot; otherwise, false.

Examples

The following code example demonstrates how to override the NotifyEndPivot method.

  public override bool NotifyEndPivot(int threadIndex,                                      ILinearSimplexStatistics stat,                                      ISimplexPivotInformation spi) {    Console.WriteLine("Ending pivot.");    return true;}

.NET Framework Security

See Also

Reference

SimplexSolverParams Class

Microsoft.SolverFoundation.Solvers Namespace