Optimizer.JacobianSparsity Property

Top 

Description

This matrix represents the sparsity of the Jacobian of the user created constraints. It does not include the Jacobian of constraints associated with TrajectorySegment objects. Utilizing this property is not required to solve an optimization problem. However, specifying the complete sparsity structure of a problem (both for the Jacobian and the gradient) in addition to setting Optimizer.ValidateUserDerivatives = 0 will significantly reduce the processing time needed for the Optimizer's sampling phase. If the sparsity isn't specified by the user, then FreeFlyer will detect it automatically. The detected sparsity structure will be readable from this property after the first 3 nominal evaluations of the Optimizer.

 

Each element of this matrix property is either -999 (corresponds to an unknown element), a 0 (corresponding to an element that is always zero), or a 1 (corresponding to an element that is not always zero).

 

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.

 

Attributes

Type:

Matrix of number

Access:

read/write

Default Value:


 

Syntax

myMatrix1 = myOptimizer1.JacobianSparsity;

 

myOptimizer1.JacobianSparsity = myMatrix1;

 

See also

Optimizer Object