lemon/lp_base.cc
author alpar
Mon, 30 Jan 2006 09:37:41 +0000
changeset 1930 92b70deed0c5
parent 1435 8e85e6bbefdf
child 1956 a055123339d5
permissions -rw-r--r--
Solve bug #23: Floating versus Integer Coordinates

- BoundingBox values rounds to integer
- The generated .eps rescales if the bounding box were too small otherwise.
athos@1247
     1
/* -*- C++ -*-
ladanyi@1435
     2
 * lemon/lp_base.cc - Part of LEMON, a generic C++ optimization library
athos@1247
     3
 *
alpar@1875
     4
 * Copyright (C) 2006 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
alpar@1359
     5
 * (Egervary Research Group on Combinatorial Optimization, EGRES).
athos@1247
     6
 *
athos@1247
     7
 * Permission to use, modify and distribute this software is granted
athos@1247
     8
 * provided that this copyright notice appears in all copies. For
athos@1247
     9
 * precise terms see the accompanying LICENSE file.
athos@1247
    10
 *
athos@1247
    11
 * This software is provided "AS IS" with no warranty of any kind,
athos@1247
    12
 * express or implied, and with no claim as to its suitability for any
athos@1247
    13
 * purpose.
athos@1247
    14
 *
athos@1247
    15
 */
athos@1247
    16
athos@1246
    17
///\file
athos@1246
    18
///\brief The implementation of the LP solver interface.
athos@1246
    19
ladanyi@1305
    20
#include <lemon/lp_base.h>
athos@1246
    21
namespace lemon {
alpar@1256
    22
  
alpar@1256
    23
  const LpSolverBase::Value
alpar@1256
    24
  LpSolverBase::INF = std::numeric_limits<Value>::infinity();
alpar@1264
    25
  const LpSolverBase::Value
alpar@1264
    26
  LpSolverBase::NaN = std::numeric_limits<Value>::quiet_NaN();
alpar@1253
    27
alpar@1364
    28
//   const LpSolverBase::Constr::Value
alpar@1364
    29
//   LpSolverBase::Constr::INF = std::numeric_limits<Value>::infinity();
alpar@1364
    30
//   const LpSolverBase::Constr::Value
alpar@1364
    31
//   LpSolverBase::Constr::NaN = std::numeric_limits<Value>::quiet_NaN();
alpar@1272
    32
  
athos@1246
    33
} //namespace lemon