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
7
class
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
};
SolverAbstract
Definition
SolverAbstract.h:170
SolverConfig
Class to store the configuration of a solver Invariant: name is lowercase.
Definition
SolverConfig.h:11
SolverIO
Definition
SolverIO.h:7
src
cpp
benders
benders_core
include
antares-xpansion
benders
benders_core
SolverIO.h
Generated by
1.12.0