Export (0) Print
Expand All

SecondOrderConicModel.SetCoefficient Method (Int32, Int32, Rational)

Solver Foundation 3.0

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

Sets the coefficient of the A matrix in a model.

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

public override void SetCoefficient(
	int vidRow,
	int vidVar,
	Rational num
)

Parameters

vidRow
Type: System.Int32
A row identifier.
vidVar
Type: System.Int32
A column or variable identifier.
num
Type: Microsoft.SolverFoundation.Common.Rational
The value.

Implements

ILinearModel.SetCoefficient(Int32, Int32, Rational)
ILinearModel.SetCoefficient(Int32, Int32, Rational)

If num is zero, the entry is removed.

Show:
© 2014 Microsoft