solver
solver::Var Class Reference

Helper class to define an optimization variable, used in the construction of linear and quadratic expressions. More...

#include <Var.hpp>

Public Member Functions

int get (SolverIntParam param) const
 
double get (SolverDoubleParam param) const
 
void set (SolverIntParam param, int value)
 
void set (SolverDoubleParam param, double value)
 

Private Member Functions

 Var (int col_no, const VarType &type, double lb, double ub, double guess=0.0)
 

Private Attributes

std::shared_ptr< VarStoragevar_storage_
 

Friends

class LinExpr
 
class ConicProblem
 
template<int Max_Ineq_Rows, int Max_Eq_Rows, int Num_OptVars>
class rt_solver::RtModel
 

Detailed Description

Helper class to define an optimization variable, used in the construction of linear and quadratic expressions.


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