9 #include "problem/Problem.h"
15 this->optionsString =
new std::map<const std::string, std::string > ();
16 this->optionsDouble =
new std::map<const std::string, double>();
23 delete this->optionsDouble;
24 delete this->optionsString;
33 return this->optionsDouble->at(name);
42 return this->optionsString->at(name);
51 if (this->optionsDouble->count(name)) {
52 this->optionsDouble->find(name)->second = value;
54 this->optionsDouble->insert(
55 std::pair<const std::string, double>(name, value));
65 if (this->optionsString->count(name)) {
66 this->optionsString->find(name)->second = value;
68 this->optionsString->insert(
69 std::pair<const std::string, std::string>(name, value));
73 Solver::result Solver::solve(
Problem problem,
const DoubleVector* variableValues) {
74 return Solver::FAILURE;