MultiObjectiveOptimizer.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

MultiObjectiveOptimizer.Reset(

Variable resetOption)

 

 

Arguments

resetOption


Description:

Specifies whether to clear state variables and objectives or not.

Valid Values:

Value

Label

0

Perform a partial reset of the optimizer. This leaves all state variables and objectives intact but discards the solutions from the Pareto front.

1

Perform a partial reset of the optimizer. All state variables and objectives will be left intact. The ParetoFront.Solutions array is cleared, but the solutions that were in the Pareto front will be used as the initial population the next time the LoadEngine method is called.

2

Perform a complete reset of the optimizer. All state variables and objectives will be erased, and the solutions in the Pareto front will be discarded.

 

 

 

 

Syntax

myMultiObjectiveOptimizer1.Reset(myVariable1);

 

 

See also

MultiObjectiveOptimizer Object

MultiObjectiveOptimizer.Reset