sdpcuts.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef SDPCUTS_HPP
00011 #define SDPCUTS_HPP
00012
00013 #include <OsiXxxSolverInterface.hpp>
00014
00015 void print_ifdefs(FILE *);
00016
00017 void solver_status(OsiSolverInterface*);
00018
00019 FILE *open_f_res();
00020
00021 FILE *open_short_f_res();
00022
00023 void print_current_sol(int , double , int , int , double ,double , double );
00024
00025 void print_file_current_sol(FILE* , char* , int , double , int , int , double ,double , double );
00026
00027 void print_file_short_sol(FILE* ,char* , int , double , int , int , double ,double );
00028
00029
00030 #define LP_TOLERANCE 0.0000001
00031
00032
00033 #define FEAS_CHECK_NO_VIOLATION 0
00034 #define FEAS_CHECK_BOUNDS_VIOLATION 1
00035 #define FEAS_CHECK_CONSTRAINT_VIOLATION 2
00036 #define FEAS_CHECK_CONSTRAINT_VIOLATION_NO_RECOVER 3
00037
00038 int feasibility_check(const int , const int , const int , const double *, const double ** , const double *, const char *, const double *,const double *,const double *,const double *);
00039
00040 double evaluateSolution(const int , const int ,const double *, const double *, const double * , const double **, const double );
00041
00042
00043 #endif