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
8{
9 SolverConfig solver_config_{"Coin"};
10 ProblemsFormat format_;
11
12public:
13 void configure(const std::string& solver_name, ProblemsFormat format);
14 void write(SolverAbstract* solver, const std::filesystem::path& path) const;
15 void read(SolverAbstract* solver, const std::filesystem::path& path) const;
16};
Definition SolverAbstract.h:200
Class to store the configuration of a solver Invariant: name is lowercase.
Definition SolverConfig.h:12
Definition SolverIO.h:8