jrl::qp::SolverOptions Struct Reference

#include <jrl-qp/SolverOptions.h>

Public Member Functions

std::uint32_t logFlags () const
 
SolverOptionslogFlags (LogFlags f)
 
SolverOptionslogFlags (std::uint32_t f)
 
SolverOptionsaddLogFlag (LogFlags f)
 
SolverOptionsremoveLogFlag (LogFlags f)
 
int maxIter () const
 
SolverOptionsmaxIter (int max)
 
double bigBnd () const
 
SolverOptionsbigBnd (double big)
 
bool warmStart () const
 
SolverOptionswarmStart (bool warm)
 
std::ostream & logStream () const
 
SolverOptionslogStream (std::ostream &os)
 

Public Attributes

int maxIter_ = 500
 
double bigBnd_ = 1e100
 
bool warmStart_ = false
 
std::uint32_t logFlags_ = 0
 
std::ostream * logStream_ = &defaultStream_
 

Static Public Attributes

static std::ostream & defaultStream_ = std::cout
 

Detailed Description

Options for the solvers

Member Function Documentation

◆ addLogFlag()

SolverOptions& jrl::qp::SolverOptions::addLogFlag ( LogFlags  f)
inline

◆ bigBnd() [1/2]

double jrl::qp::SolverOptions::bigBnd ( ) const
inline

◆ bigBnd() [2/2]

SolverOptions& jrl::qp::SolverOptions::bigBnd ( double  big)
inline

◆ logFlags() [1/3]

std::uint32_t jrl::qp::SolverOptions::logFlags ( ) const
inline

◆ logFlags() [2/3]

SolverOptions& jrl::qp::SolverOptions::logFlags ( LogFlags  f)
inline

◆ logFlags() [3/3]

SolverOptions& jrl::qp::SolverOptions::logFlags ( std::uint32_t  f)
inline

◆ logStream() [1/2]

std::ostream& jrl::qp::SolverOptions::logStream ( ) const
inline

◆ logStream() [2/2]

SolverOptions& jrl::qp::SolverOptions::logStream ( std::ostream &  os)
inline

◆ maxIter() [1/2]

int jrl::qp::SolverOptions::maxIter ( ) const
inline

◆ maxIter() [2/2]

SolverOptions& jrl::qp::SolverOptions::maxIter ( int  max)
inline

◆ removeLogFlag()

SolverOptions& jrl::qp::SolverOptions::removeLogFlag ( LogFlags  f)
inline

◆ warmStart() [1/2]

bool jrl::qp::SolverOptions::warmStart ( ) const
inline

◆ warmStart() [2/2]

SolverOptions& jrl::qp::SolverOptions::warmStart ( bool  warm)
inline

Member Data Documentation

◆ bigBnd_

double jrl::qp::SolverOptions::bigBnd_ = 1e100

◆ defaultStream_

std::ostream & jrl::qp::SolverOptions::defaultStream_ = std::cout
static

◆ logFlags_

std::uint32_t jrl::qp::SolverOptions::logFlags_ = 0

◆ logStream_

std::ostream* jrl::qp::SolverOptions::logStream_ = &defaultStream_

◆ maxIter_

int jrl::qp::SolverOptions::maxIter_ = 500

◆ warmStart_

bool jrl::qp::SolverOptions::warmStart_ = false

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