COIN-OR::LEMON - Graph Library

Changeset 587:9db62975c32b in lemon for lemon/glpk.cc


Ignore:
Timestamp:
02/26/09 08:39:16 (12 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Fix newSolver()/cloneSolver() API in LP tools + doc improvements (#230)

  • More logical structure for newSolver()/cloneSolver()
  • Fix compilation problem with gcc-3.3
  • Doc improvements
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/glpk.cc

    r485 r587  
    535535  }
    536536
    537   GlpkLp* GlpkLp::_newSolver() const { return new GlpkLp; }
    538   GlpkLp* GlpkLp::_cloneSolver() const { return new GlpkLp(*this); }
     537  GlpkLp* GlpkLp::newSolver() const { return new GlpkLp; }
     538  GlpkLp* GlpkLp::cloneSolver() const { return new GlpkLp(*this); }
    539539
    540540  const char* GlpkLp::_solverName() const { return "GlpkLp"; }
     
    941941  }
    942942
    943   GlpkMip* GlpkMip::_newSolver() const { return new GlpkMip; }
    944   GlpkMip* GlpkMip::_cloneSolver() const {return new GlpkMip(*this); }
     943  GlpkMip* GlpkMip::newSolver() const { return new GlpkMip; }
     944  GlpkMip* GlpkMip::cloneSolver() const {return new GlpkMip(*this); }
    945945
    946946  const char* GlpkMip::_solverName() const { return "GlpkMip"; }
Note: See TracChangeset for help on using the changeset viewer.