Class IterationInfo
java.lang.Object
org.wpilib.math.optimization.solver.IterationInfo
Solver iteration information exposed to an iteration callback.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal org.ejml.simple.SimpleMatrixThe equality constraint Jacobian (sparse internal storage).final org.ejml.simple.SimpleMatrixThe inequality constraint Jacobian (sparse internal storage).final org.ejml.simple.SimpleMatrixThe gradient of the cost function (sparse internal storage).final org.ejml.simple.SimpleMatrixThe Hessian of the Lagrangian (sparse internal storage).final intThe solver iteration.final org.ejml.simple.SimpleMatrixThe decision variables (dense internal storage). -
Constructor Summary
ConstructorsConstructorDescriptionIterationInfo(int iteration, org.ejml.simple.SimpleMatrix x, org.ejml.simple.SimpleMatrix g, org.ejml.simple.SimpleMatrix H, org.ejml.simple.SimpleMatrix A_e, org.ejml.simple.SimpleMatrix A_i) Constructs iteration info. -
Method Summary
-
Field Details
-
iteration
The solver iteration. -
x
The decision variables (dense internal storage). -
g
The gradient of the cost function (sparse internal storage). -
H
The Hessian of the Lagrangian (sparse internal storage). -
A_e
The equality constraint Jacobian (sparse internal storage). -
A_i
The inequality constraint Jacobian (sparse internal storage).
-
-
Constructor Details
-
IterationInfo
public IterationInfo(int iteration, org.ejml.simple.SimpleMatrix x, org.ejml.simple.SimpleMatrix g, org.ejml.simple.SimpleMatrix H, org.ejml.simple.SimpleMatrix A_e, org.ejml.simple.SimpleMatrix A_i) Constructs iteration info.- Parameters:
iteration- The solver iteration.x- The decision variables (dense internal storage).g- The gradient of the cost function (sparse internal storage).H- The Hessian of the Lagrangian (sparse internal storage).A_e- The equality constraint Jacobian (sparse internal storage).A_i- The inequality constraint Jacobian (sparse internal storage).
-