Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
SolverIO.h
1#pragma once
2
3#include "ProblemFormat.h"
4#include "antares-xpansion/multisolver_interface/SolverAbstract.h"
5#include "antares-xpansion/multisolver_interface/SolverConfig.h"
6
7class SolverIO {
8 SolverConfig solver_config_{"Coin"};
9 ProblemsFormat format_;
10 public:
11 void configure(const std::string& solver_name, ProblemsFormat format);
12 void write(SolverAbstract* solver, const std::filesystem::path& path) const;
13 void read(SolverAbstract* solver, const std::filesystem::path& path) const;
14};
Definition SolverAbstract.h:170
Class to store the configuration of a solver Invariant: name is lowercase.
Definition SolverConfig.h:11
Definition SolverIO.h:7