GAMSlinks  0.4
GamsFinalize.hpp
Go to the documentation of this file.
1 // Copyright (C) GAMS Development 2006
2 // All Rights Reserved.
3 // This code is published under the Common Public License.
4 //
5 // $Id: GamsFinalize.hpp 204 2007-09-23 12:15:10Z stefan $
6 //
7 // Authors: Michael Bussieck, Stefan Vigerske
8 
9 #ifndef GAMSFINALIZE_HPP_
10 #define GAMSFINALIZE_HPP_
11 
12 // GAMS
13 #include "GamsModel.hpp"
14 #include "GamsMessageHandler.hpp"
15 
16 #include "OsiSolverInterface.hpp"
17 
27 void GamsFinalizeOsi(GamsModel *gm, GamsMessageHandler *myout, OsiSolverInterface *solver, bool TimeLimitExceeded=false, bool HaveFeasibleSolution=false, bool swapRowStatus=false);
28 
38 void GamsWriteSolutionOsi(GamsModel *gm, GamsMessageHandler *myout, OsiSolverInterface *solver, bool swapRowStatus=false);
39 
40 #endif /*GAMSFINALIZE_HPP_*/
Representation of a mixed-integer linear GAMS model read in from GAMS iolib.
Definition: GamsModel.hpp:21
void GamsWriteSolutionOsi(GamsModel *gm, GamsMessageHandler *myout, OsiSolverInterface *solver, bool swapRowStatus=false)
Writes GAMS solution file for a solution stored in an OsiSolverInterface.
A CoinUtils message handler that writes into the GAMS status- and logfile.
void GamsFinalizeOsi(GamsModel *gm, GamsMessageHandler *myout, OsiSolverInterface *solver, bool TimeLimitExceeded=false, bool HaveFeasibleSolution=false, bool swapRowStatus=false)
Analyze solution stored in an OsiSolverInterface and writes GAMS solution file.