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

#include <conopt_interface.hpp>

Detailed Description

Definition at line 85 of file conopt_interface.hpp.

Inheritance diagram for casadi::ConoptMemory:
Inheritance graph
[legend]

Public Member Functions

 ConoptMemory (const ConoptInterface &interface)
 
 ~ConoptMemory ()
 

Public Attributes

const ConoptInterfaceself
 
coiHandle_t cntvect
 
ConoptModelStatus modsta
 
ConoptSolverStatus solsta
 
int iter
 
std::string return_status
 
std::vector< double > cached_x
 
double cached_f
 
std::vector< double > cached_grad_f
 
std::vector< double > cached_g
 
std::vector< double > cached_jac_g
 
std::atomic< bool > cache_valid {false}
 
std::atomic< bool > cache_valid_jac {false}
 
bool nan_encountered
 
std::vector< std::pair< std::string, GenericType > > custom_options
 
std::vector< double > const_jac_vals
 
std::vector< double > gradf_const_vals
 
std::vector< double > linear_at_x0
 
int ng_expanded
 
int numnz_expanded
 
std::vector< int > row_nnz
 
std::vector< int > conopt_to_casadi
 
std::vector< int > casadi_to_conopt_lb_row
 
std::vector< int > casadi_to_conopt_ub_row
 
std::vector< ConoptRowTypeconopt_type
 
std::vector< double > conopt_rhs
 
std::vector< double > hess_lam_g_
 
double obj_const_
 
std::vector< double > row_const_
 
double obj_const_lin_
 

Constructor & Destructor Documentation

◆ ConoptMemory()

casadi::ConoptMemory::ConoptMemory ( const ConoptInterface interface)

◆ ~ConoptMemory()

casadi::ConoptMemory::~ConoptMemory ( )

Member Data Documentation

◆ cache_valid

std::atomic<bool> casadi::ConoptMemory::cache_valid {false}

Definition at line 100 of file conopt_interface.hpp.

◆ cache_valid_jac

std::atomic<bool> casadi::ConoptMemory::cache_valid_jac {false}

Definition at line 101 of file conopt_interface.hpp.

◆ cached_f

double casadi::ConoptMemory::cached_f

Definition at line 96 of file conopt_interface.hpp.

◆ cached_g

std::vector<double> casadi::ConoptMemory::cached_g

Definition at line 98 of file conopt_interface.hpp.

◆ cached_grad_f

std::vector<double> casadi::ConoptMemory::cached_grad_f

Definition at line 97 of file conopt_interface.hpp.

◆ cached_jac_g

std::vector<double> casadi::ConoptMemory::cached_jac_g

Definition at line 99 of file conopt_interface.hpp.

◆ cached_x

std::vector<double> casadi::ConoptMemory::cached_x

Definition at line 95 of file conopt_interface.hpp.

◆ casadi_to_conopt_lb_row

std::vector<int> casadi::ConoptMemory::casadi_to_conopt_lb_row

Definition at line 119 of file conopt_interface.hpp.

◆ casadi_to_conopt_ub_row

std::vector<int> casadi::ConoptMemory::casadi_to_conopt_ub_row

Definition at line 121 of file conopt_interface.hpp.

◆ cntvect

coiHandle_t casadi::ConoptMemory::cntvect

Definition at line 87 of file conopt_interface.hpp.

◆ conopt_rhs

std::vector<double> casadi::ConoptMemory::conopt_rhs

Definition at line 123 of file conopt_interface.hpp.

◆ conopt_to_casadi

std::vector<int> casadi::ConoptMemory::conopt_to_casadi

Definition at line 118 of file conopt_interface.hpp.

◆ conopt_type

std::vector<ConoptRowType> casadi::ConoptMemory::conopt_type

Definition at line 122 of file conopt_interface.hpp.

◆ const_jac_vals

std::vector<double> casadi::ConoptMemory::const_jac_vals

Definition at line 108 of file conopt_interface.hpp.

◆ custom_options

std::vector<std::pair<std::string, GenericType> > casadi::ConoptMemory::custom_options

Definition at line 105 of file conopt_interface.hpp.

◆ gradf_const_vals

std::vector<double> casadi::ConoptMemory::gradf_const_vals

Definition at line 110 of file conopt_interface.hpp.

◆ hess_lam_g_

std::vector<double> casadi::ConoptMemory::hess_lam_g_

Definition at line 126 of file conopt_interface.hpp.

◆ iter

int casadi::ConoptMemory::iter

Definition at line 91 of file conopt_interface.hpp.

◆ linear_at_x0

std::vector<double> casadi::ConoptMemory::linear_at_x0

Definition at line 112 of file conopt_interface.hpp.

◆ modsta

ConoptModelStatus casadi::ConoptMemory::modsta

Definition at line 89 of file conopt_interface.hpp.

◆ nan_encountered

bool casadi::ConoptMemory::nan_encountered

Definition at line 102 of file conopt_interface.hpp.

◆ ng_expanded

int casadi::ConoptMemory::ng_expanded

Definition at line 115 of file conopt_interface.hpp.

◆ numnz_expanded

int casadi::ConoptMemory::numnz_expanded

Definition at line 116 of file conopt_interface.hpp.

◆ obj_const_

double casadi::ConoptMemory::obj_const_

Definition at line 129 of file conopt_interface.hpp.

◆ obj_const_lin_

double casadi::ConoptMemory::obj_const_lin_

Definition at line 133 of file conopt_interface.hpp.

◆ return_status

std::string casadi::ConoptMemory::return_status

Definition at line 92 of file conopt_interface.hpp.

◆ row_const_

std::vector<double> casadi::ConoptMemory::row_const_

Definition at line 131 of file conopt_interface.hpp.

◆ row_nnz

std::vector<int> casadi::ConoptMemory::row_nnz

Definition at line 117 of file conopt_interface.hpp.

◆ self

const ConoptInterface& casadi::ConoptMemory::self

Definition at line 86 of file conopt_interface.hpp.

◆ solsta

ConoptSolverStatus casadi::ConoptMemory::solsta

Definition at line 90 of file conopt_interface.hpp.


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