39 #include <boost/lexical_cast.hpp>
40 #include <boost/format.hpp>
46 namespace SolverUtils {
52 const std::string& name,
53 const std::string& value)
55 l.push_back(std::make_pair<std::string, std::string>(name, value));
61 const std::string& name,
64 l.push_back(std::make_pair<std::string, std::string>(name, boost::lexical_cast<std::string>(value)));
70 const std::string& name,
73 l.push_back(std::make_pair<std::string, std::string>(
74 name, str(boost::format(
"%g") % value)));