gtsam  4.0.0
gtsam
gtsam::ActiveSetSolver< PROBLEM, POLICY, INITSOLVER >::State Struct Reference

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.

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
 

Member Data Documentation

◆ 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.

◆ workingSet

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

keep track of current active/inactive inequality constraints


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