Model.AddParameters Method (array<RandomParameter[])

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

Adds a group of random parameters to a model for stochastic programming.

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

Syntax

'Declaration
Public Sub AddParameters ( _
    ParamArray parameters As RandomParameter() _
)
public void AddParameters(
    params RandomParameter[] parameters
)
public:
void AddParameters(
    ... array<RandomParameter^>^ parameters
)
member AddParameters : 
        parameters:RandomParameter[] -> unit 
public function AddParameters(
    ... parameters : RandomParameter[]
)

Parameters

Exceptions

Exception Condition
ModelException

The parameter has already been added to a different model.

.NET Framework Security

See Also

Reference

Model Class

AddParameters Overload

Microsoft.SolverFoundation.Services Namespace