1.1 --- a/lemon/mip_glpk.h Tue Dec 02 21:40:33 2008 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,59 +0,0 @@
1.4 -/* -*- mode: C++; indent-tabs-mode: nil; -*-
1.5 - *
1.6 - * This file is a part of LEMON, a generic C++ optimization library.
1.7 - *
1.8 - * Copyright (C) 2003-2008
1.9 - * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
1.10 - * (Egervary Research Group on Combinatorial Optimization, EGRES).
1.11 - *
1.12 - * Permission to use, modify and distribute this software is granted
1.13 - * provided that this copyright notice appears in all copies. For
1.14 - * precise terms see the accompanying LICENSE file.
1.15 - *
1.16 - * This software is provided "AS IS" with no warranty of any kind,
1.17 - * express or implied, and with no claim as to its suitability for any
1.18 - * purpose.
1.19 - *
1.20 - */
1.21 -
1.22 -#ifndef LEMON_MIP_GLPK_H
1.23 -#define LEMON_MIP_GLPK_H
1.24 -
1.25 -///\file
1.26 -///\brief Header of the LEMON-GLPK mip solver interface.
1.27 -///\ingroup lp_group
1.28 -
1.29 -
1.30 -#include <lemon/lp_glpk.h>
1.31 -
1.32 -namespace lemon {
1.33 - /// \brief Interface for the GLPK MIP solver
1.34 - ///
1.35 - /// This class implements an interface for the GLPK MIP solver.
1.36 - ///\ingroup lp_group
1.37 - class MipGlpk : public MipSolverBase, public LpGlpk{
1.38 -
1.39 - public:
1.40 -
1.41 - typedef MipSolverBase ParentMip;
1.42 - typedef LpGlpk ParentLp;
1.43 -
1.44 - MipGlpk();
1.45 - //~MipGlpk();
1.46 -
1.47 -
1.48 -
1.49 - protected:
1.50 -
1.51 - virtual ColTypes _colType(int col) const;
1.52 - virtual void _colType(int col, ColTypes col_type);
1.53 -
1.54 - virtual LpGlpk::SolveExitStatus _solve();
1.55 - virtual LpGlpk::SolutionStatus _getMipStatus() const;
1.56 - virtual ParentLp::Value _getPrimal(int i) const;
1.57 - virtual ParentLp::Value _getPrimalValue() const;
1.58 - };
1.59 -
1.60 -} //END OF NAMESPACE LEMON
1.61 -
1.62 -#endif // END OF LEMON_MIP_GLPK_H