| 329 | } |
| 330 | |
| 331 | void FilereaderLp::writeToFileValue(FILE* file, const double value, |
| 332 | const bool force_plus) { |
| 333 | // As for writeModelAsMps |
| 334 | if (force_plus) { |
| 335 | this->writeToFile(file, " %+.15g", value); |
| 336 | } else { |
| 337 | this->writeToFile(file, " %.15g", value); |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | void FilereaderLp::writeToFileVar(FILE* file, const std::string var_name) { |
| 342 | this->writeToFile(file, " %s", var_name.c_str()); |
no test coverage detected