List of all members | Public Member Functions | Public Attributes
casadi::GurobiMemory Struct Reference

#include <gurobi_interface.hpp>

Detailed Description

Definition at line 49 of file gurobi_interface.hpp.

Inheritance diagram for casadi::GurobiMemory:
Inheritance graph
[legend]
Collaboration diagram for casadi::GurobiMemory:
Collaboration graph
[legend]

Public Member Functions

 GurobiMemory ()
 Constructor. More...
 
 ~GurobiMemory ()
 Destructor. More...
 
void add_stat (const std::string &s)
 

Public Attributes

GRBenv * env
 
int return_status
 
int pool_sol_nr
 
std::vector< double > pool_obj_vals
 
std::vector< std::vector< double > > pool_solutions
 
std::vector< double > sos_weights
 
std::vector< int > sos_beg
 
std::vector< int > sos_ind
 
std::vector< int > sos_types
 
casadi_qp_data< double > d_qp
 
bool stats_available
 
std::map< std::string, FStatsfstats
 
FStatst_total
 

Constructor & Destructor Documentation

◆ GurobiMemory()

casadi::GurobiMemory::GurobiMemory ( )

Definition at line 563 of file gurobi_interface.cpp.

563  {
564  this->env = nullptr;
565  }

References env.

◆ ~GurobiMemory()

casadi::GurobiMemory::~GurobiMemory ( )

Definition at line 567 of file gurobi_interface.cpp.

567  {
568  if (this->env) GRBfreeenv(this->env);
569  }

References env.

Member Function Documentation

◆ add_stat()

void casadi::ProtoFunctionMemory::add_stat ( const std::string &  s)
inlineinherited

Member Data Documentation

◆ d_qp

casadi_qp_data<double> casadi::ConicMemory::d_qp
inherited

Definition at line 39 of file conic_impl.hpp.

Referenced by casadi::Conic::get_stats().

◆ env

GRBenv* casadi::GurobiMemory::env

Definition at line 51 of file gurobi_interface.hpp.

Referenced by GurobiMemory(), and ~GurobiMemory().

◆ fstats

std::map<std::string, FStats> casadi::ProtoFunctionMemory::fstats
inherited

◆ pool_obj_vals

std::vector<double> casadi::GurobiMemory::pool_obj_vals

Definition at line 56 of file gurobi_interface.hpp.

◆ pool_sol_nr

int casadi::GurobiMemory::pool_sol_nr

Definition at line 55 of file gurobi_interface.hpp.

◆ pool_solutions

std::vector<std::vector<double> > casadi::GurobiMemory::pool_solutions

Definition at line 57 of file gurobi_interface.hpp.

◆ return_status

int casadi::GurobiMemory::return_status

Definition at line 53 of file gurobi_interface.hpp.

◆ sos_beg

std::vector<int> casadi::GurobiMemory::sos_beg

Definition at line 61 of file gurobi_interface.hpp.

◆ sos_ind

std::vector<int> casadi::GurobiMemory::sos_ind

Definition at line 62 of file gurobi_interface.hpp.

◆ sos_types

std::vector<int> casadi::GurobiMemory::sos_types

Definition at line 63 of file gurobi_interface.hpp.

◆ sos_weights

std::vector<double> casadi::GurobiMemory::sos_weights

Definition at line 60 of file gurobi_interface.hpp.

◆ stats_available

bool casadi::FunctionMemory::stats_available
inherited

◆ t_total

FStats* casadi::ProtoFunctionMemory::t_total
inherited

Definition at line 71 of file function_internal.hpp.

Referenced by casadi::LinsolCall< Tr >::eval(), and casadi::Linsol::solve().


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