BonOuterDescription.hpp
Go to the documentation of this file.
1 // (C) Copyright CNRS and others 2010
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // Authors :
6 // Pierre Bonami, Université de la Méditérannée
7 // Hassan Hijazi, Orange Labs
8 //
9 // Date : 05/22/2010
10 
11 #ifndef OuterDescription_H
12 #define OuterDescription_H
13 
14 #define INT_BIAS 0e-8
15 
16 #include <string>
17 #include <iostream>
18 
20 #include "CoinWarmStartBasis.hpp"
21 
22 #include "BonCutStrengthener.hpp"
23 
24 namespace Bonmin {
25 
28  void getMyOuterApproximation(OsiTMINLPInterface &si,
29  OsiCuts &cs, int ind, const double * x,
30  int getObj, const double * x2,
31  double theta, bool global);
32 
34 void addOuterDescription(OsiTMINLPInterface &nlp, OsiSolverInterface &si,
35  const double * x, int nbAp, bool getObj);
36 
37 }
38 #endif
void addOuterDescription(OsiTMINLPInterface &nlp, OsiSolverInterface &si, const double *x, int nbAp, bool getObj)
Adds an outer description of problem to linear formulation.
void getMyOuterApproximation(OsiTMINLPInterface &si, OsiCuts &cs, int ind, const double *x, int getObj, const double *x2, double theta, bool global)
Get the outer approximation constraints at provided point and only for the specified constraint (ind ...
ULong x2
Definition: OSdtoa.cpp:1776
void fint fint fint real fint real * x