00001 /* $Id: disjunctive_cuts.hpp 508 2011-02-15 21:52:44Z pbelotti $ 00002 * 00003 * Name: disjunctive_cuts.hpp 00004 * Author: Andrea Qualizza 00005 * Purpose: 00006 * 00007 * This file is licensed under the Eclipse Public License (EPL) 00008 */ 00009 00010 #ifndef DISJUNCTIVE_CUTS_HPP 00011 #define DISJUNCTIVE_CUTS_HPP 00012 00013 00014 #include <CglCutGenerator.hpp> 00015 #include <OsiSolverInterface.hpp> 00016 #include <tracer.hpp> 00017 #include <misc_util.hpp> 00018 00019 00020 #define indexQ(i,j,n) ((n) + (i) * (2*(n)-1-(i)) / 2 + (j)) 00021 00022 00023 void disjunctiveCutGen(const OsiSolverInterface &si, OsiCuts &cs, const double *sol, int n, Tracer *tracer); 00024 00025 #endif