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 39 of file ActiveSetSolver.h.

Constructor & Destructor Documentation

◆ State() [1/2]

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

Default constructor.

Definition at line 49 of file ActiveSetSolver.h.

◆ State() [2/2]

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 53 of file ActiveSetSolver.h.

Member Data Documentation

◆ converged

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 44 of file ActiveSetSolver.h.

◆ duals

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 41 of file ActiveSetSolver.h.

◆ iterations

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 45 of file ActiveSetSolver.h.

◆ values

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

current best values at each step

Definition at line 40 of file ActiveSetSolver.h.

◆ workingSet

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 42 of file ActiveSetSolver.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:15:09