Optimizer.SetGradientSparsityValue Method

Top 

Description

Sets a value in the Optimizer.GradientSparsity array.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Overload List

Signatures

Return Value

Description

Optimizer.SetGradientSparsityValue(String stateVariableLabel, Variable value)

None

Sets a value in the Optimizer.GradientSparsity array.

Optimizer.SetGradientSparsityValue(TrajectoryPhase trajectoryPhase, Variable node, Array stateIndices, Array values)

None

Sets value(s) in the Optimizer.GradientSparsity array corresponding to a set of TrajectoryPhase state variables.

 

 

See also

Optimizer Object