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
- parameters
Type: array<Microsoft.SolverFoundation.Services.RandomParameter[]
A group of parameters to add to the model.
Exceptions
Exception | Condition |
---|---|
ModelException | The parameter has already been added to a different model. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.