LinearModel.GetGoalFromIndex Method

Solver Foundation 3.0

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

Returns a goal entry if the row index is associated with a goal.

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

public virtual ILinearGoal GetGoalFromIndex(
	int vid
)

Parameters

vid
Type: System.Int32
A variable index.

Return Value

Type: Microsoft.SolverFoundation.Services.ILinearGoal
A goal entry. null if the row is not a goal row.

Implements

ILinearModel.GetGoalFromIndex(Int32)

Show: