gtsam
4.0.0
gtsam
|
This struct contains the state information for a single iteration.
Public Member Functions | |
State () | |
Default constructor. | |
State (const VectorValues &initialValues, const VectorValues &initialDuals, const InequalityFactorGraph &initialWorkingSet, bool _converged, size_t _iterations) | |
Constructor with initial values. | |
Public Attributes | |
VectorValues | values |
current best values at each step | |
VectorValues | duals |
current values of dual variables at each step | |
InequalityFactorGraph | workingSet |
bool | converged |
True if the algorithm has converged to a solution. | |
size_t | iterations |
size_t gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::iterations |
Number of iterations. Incremented at the end of each iteration.
InequalityFactorGraph gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::workingSet |
keep track of current active/inactive inequality constraints