lemon/glpk.cc
changeset 540 9db62975c32b
parent 462 9b082b3fb33f
child 542 fc6c7aab4b8d
equal deleted inserted replaced
1:e3b8ca1cea32 4:64001764fadd
   532   GlpkLp::GlpkLp(const GlpkLp& other)
   532   GlpkLp::GlpkLp(const GlpkLp& other)
   533     : LpBase(other), GlpkBase(other), LpSolver(other) {
   533     : LpBase(other), GlpkBase(other), LpSolver(other) {
   534     messageLevel(MESSAGE_NO_OUTPUT);
   534     messageLevel(MESSAGE_NO_OUTPUT);
   535   }
   535   }
   536 
   536 
   537   GlpkLp* GlpkLp::_newSolver() const { return new GlpkLp; }
   537   GlpkLp* GlpkLp::newSolver() const { return new GlpkLp; }
   538   GlpkLp* GlpkLp::_cloneSolver() const { return new GlpkLp(*this); }
   538   GlpkLp* GlpkLp::cloneSolver() const { return new GlpkLp(*this); }
   539 
   539 
   540   const char* GlpkLp::_solverName() const { return "GlpkLp"; }
   540   const char* GlpkLp::_solverName() const { return "GlpkLp"; }
   541 
   541 
   542   void GlpkLp::_clear_temporals() {
   542   void GlpkLp::_clear_temporals() {
   543     _primal_ray.clear();
   543     _primal_ray.clear();
   938 
   938 
   939   GlpkMip::Value GlpkMip::_getSolValue() const {
   939   GlpkMip::Value GlpkMip::_getSolValue() const {
   940     return glp_mip_obj_val(lp);
   940     return glp_mip_obj_val(lp);
   941   }
   941   }
   942 
   942 
   943   GlpkMip* GlpkMip::_newSolver() const { return new GlpkMip; }
   943   GlpkMip* GlpkMip::newSolver() const { return new GlpkMip; }
   944   GlpkMip* GlpkMip::_cloneSolver() const {return new GlpkMip(*this); }
   944   GlpkMip* GlpkMip::cloneSolver() const {return new GlpkMip(*this); }
   945 
   945 
   946   const char* GlpkMip::_solverName() const { return "GlpkMip"; }
   946   const char* GlpkMip::_solverName() const { return "GlpkMip"; }
   947 
   947 
   948   void GlpkMip::messageLevel(MessageLevel m) {
   948   void GlpkMip::messageLevel(MessageLevel m) {
   949     _message_level = m;
   949     _message_level = m;