sdpcuts.hpp

Go to the documentation of this file.
00001 /* $Id: sdpcuts.hpp 508 2011-02-15 21:52:44Z pbelotti $
00002  *
00003  * Name:    sdpcuts.hpp
00004  * Author:  Andrea Qualizza
00005  * Purpose: 
00006  *
00007  * This file is licensed under the Eclipse Public License (EPL)
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 // values smaller than 0.0000001 st_e05 gives a outerapproximation infeasible solution with cplex
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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 14 Jan 2015 for Couenne by  doxygen 1.6.1