Optimizer.Reset(Variable) Method

Top 

Description

Resets the optimization process. The provided argument specifies whether the reset operation is partial or complete.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Optimizer.Reset(

Variable resetOption)

 

 

Arguments

resetOption


Description:

Specifies whether to clear state variables and constraints or not.

Valid Values:

Value

Label

0

Perform a partial reset of the optimizer. This leaves all state variables and constraints intact.

1

Perform a complete reset of the optimizer. All state variables and constraints will be erased.

2

Perform a partial reset of the Optimizer and save the Jacobian structure. Warning: do not use this option unless the Jacobian structure is ensured to be constant.

 

 

 

 

Syntax

myOptimizer1.Reset(myVariable1);

 

 

See also

Optimizer Object

Optimizer.Reset