ValuesByIndex Constructor (array<Int32[], array<Double[])

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

Initializes a new instance of the ValuesByIndex class, using the specified mapping and values.

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

Syntax

'Declaration
Public Sub New ( _
    indexToSolver As Integer(), _
    solverValues As Double() _
)
public ValuesByIndex(
    int[] indexToSolver,
    double[] solverValues
)
public:
ValuesByIndex(
    array<int>^ indexToSolver, 
    array<double>^ solverValues
)
new : 
        indexToSolver:int[] * 
        solverValues:float[] -> ValuesByIndex
public function ValuesByIndex(
    indexToSolver : int[], 
    solverValues : double[]
)

Parameters

  • indexToSolver
    Type: array<System.Int32[]
    The index-to-solver mapping.
  • solverValues
    Type: array<System.Double[]
    An array of solver values.

Remarks

If the same ValuesByIndex object is used for each iteration, use the ValuesByIndex.ValuesByIndex(array<Int32[]) constructor instead.

.NET Framework Security

See Also

Reference

ValuesByIndex Class

ValuesByIndex Overload

Microsoft.SolverFoundation.Services Namespace