lemon/clp.cc
changeset 1207 eba5aa390aca
parent 1205 57abff252556
equal deleted inserted replaced
10:0efa86b07a87 11:4afc03f0c3b9
   459       _prob->setLogLevel(4);
   459       _prob->setLogLevel(4);
   460       break;
   460       break;
   461     }
   461     }
   462   }
   462   }
   463 
   463 
       
   464    void ClpLp::_write(std::string file, std::string format) const
       
   465   {
       
   466     if(format == "LP")
       
   467       _prob->writeLp(file.c_str(), "", 1e-5, 10, 5,
       
   468                      sense()==ClpLp::MIN?1:-1,
       
   469                      true
       
   470                      );
       
   471     else throw UnsupportedFormatError(format);
       
   472   }
       
   473  
   464 } //END OF NAMESPACE LEMON
   474 } //END OF NAMESPACE LEMON