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