Public Member Functions | Public Attributes | List of all members
gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State Struct Reference

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
 

Detailed Description

template<class PROBLEM, class POLICY, class INITSOLVER>
struct gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State

This struct contains the state information for a single iteration.

Definition at line 40 of file ActiveSetSolver.h.

Constructor & Destructor Documentation

template<class PROBLEM , class POLICY , class INITSOLVER >
gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::State ( )
inline

Default constructor.

Definition at line 50 of file ActiveSetSolver.h.

template<class PROBLEM , class POLICY , class INITSOLVER >
gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::State ( const VectorValues initialValues,
const VectorValues initialDuals,
const InequalityFactorGraph initialWorkingSet,
bool  _converged,
size_t  _iterations 
)
inline

Constructor with initial values.

Definition at line 54 of file ActiveSetSolver.h.

Member Data Documentation

template<class PROBLEM , class POLICY , class INITSOLVER >
bool gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::converged

True if the algorithm has converged to a solution.

Definition at line 45 of file ActiveSetSolver.h.

template<class PROBLEM , class POLICY , class INITSOLVER >
VectorValues gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::duals

current values of dual variables at each step

Definition at line 42 of file ActiveSetSolver.h.

template<class PROBLEM , class POLICY , class INITSOLVER >
size_t gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::iterations

Number of iterations. Incremented at the end of each iteration.

Definition at line 46 of file ActiveSetSolver.h.

template<class PROBLEM , class POLICY , class INITSOLVER >
VectorValues gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::values

current best values at each step

Definition at line 41 of file ActiveSetSolver.h.

template<class PROBLEM , class POLICY , class INITSOLVER >
InequalityFactorGraph gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State::workingSet

keep track of current active/inactive inequality constraints

Definition at line 43 of file ActiveSetSolver.h.


The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:03