Borderbasix

Public Member Functions | List of all members
solversdp_csdp Struct Reference

The solversdp_csdp struct The solversdp interface class for csdp. More...

#include <borderbasix/solversdp_csdp.h>

Inheritance diagram for solversdp_csdp:
solversdp

Public Member Functions

 solversdp_csdp ()
 
void run ()
 
void read_file ()
 
void write_file ()
 
void read_fmin ()
 
- Public Member Functions inherited from solversdp
 solversdp ()
 
int & dim ()
 dimension of the first block More...
 
int & dim (int i)
 dimension of the ith block More...
 
int nb_block () const
 number of blocks More...
 
dim_iterator dim_begin ()
 
dim_iterator dim_end ()
 
int & prec ()
 
int prec () const
 
mat_iterator begin ()
 begining of the matrix sequence More...
 
mat_iterator end ()
 end of the matrix sequence More...
 
double & coeff (int i, int j, int k)
 
double & coeff (int i, int b, int j, int k)
 
int & nentries (int i)
 number of entries asociated to each matrix More...
 
int obj_size ()
 
double & obj_coeff (int i)
 
obj_iterator obj_begin ()
 
obj_iterator obj_end ()
 
void clear ()
 

Additional Inherited Members

- Public Types inherited from solversdp
typedef std::pair< int, int > Pair
 
typedef std::map< Pair, double > Matrix
 Matrix type of the SDP solver. More...
 
typedef std::vector< double > Vector
 
typedef std::map< int, int >::iterator dim_iterator
 Iterator on the matrix sequence. More...
 
typedef std::map< Pair, Matrix >::iterator mat_iterator
 Iterator on the matrix sequence. More...
 
typedef std::map< int, double >::iterator obj_iterator
 Iterator on the coefficients of the objectiv function. More...
 
- Public Attributes inherited from solversdp
Vector output
 
double fminprimal
 
double fmindual
 

Detailed Description

The solversdp_csdp struct The solversdp interface class for csdp.

Constructor & Destructor Documentation

solversdp_csdp::solversdp_csdp ( )

Member Function Documentation

void solversdp_csdp::read_file ( )
void solversdp_csdp::read_fmin ( )
void solversdp_csdp::run ( )
virtual

Implements solversdp.

void solversdp_csdp::write_file ( )
Home  |  Download & InstallContributions