trajopt
 All Classes Namespaces Files Functions Variables Typedefs Pages
Classes | Typedefs | Enumerations | Functions
solver_interface.hpp File Reference

Interface to convex solvers. More...

#include <boost/shared_ptr.hpp>
#include <vector>
#include <string>
#include "sco_fwd.hpp"
#include <iosfwd>
#include <limits>

Go to the source code of this file.

Classes

class  sco::Model
 Convex optimization problem. More...
 
struct  sco::VarRep
 
struct  sco::Var
 
struct  sco::CntRep
 
struct  sco::Cnt
 
struct  sco::AffExpr
 
struct  sco::QuadExpr
 

Typedefs

typedef vector< int > sco::IntVec
 
typedef vector< Var > sco::VarVector
 
typedef vector< AffExpr > sco::AffExprVector
 
typedef vector< QuadExpr > sco::QuadExprVector
 

Enumerations

enum  ConstraintType { EQ, INEQ }
 
enum  CvxOptStatus { CVX_SOLVED, CVX_INFEASIBLE, CVX_FAILED }
 

Functions

ostream & sco::operator<< (ostream &, const Var &)
 
ostream & sco::operator<< (ostream &, const Cnt &)
 
ostream & sco::operator<< (ostream &, const AffExpr &)
 
ostream & sco::operator<< (ostream &, const QuadExpr &)
 
ModelPtr sco::createModel ()
 

Detailed Description

Interface to convex solvers.

This is based on Gurobi's nice c++ API (though the SCO Gurobi backend uses the Gurobi c api). However, our intention is to allow for different solvers to be used as backends.