Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
SolverConfig.h
1
#pragma once
2
3
#include <filesystem>
4
#include <map>
5
#include <string>
6
11
class
SolverConfig
12
{
13
void
init(std::string solver_name);
14
std::string name;
15
bool
save_restore_supported{
false
};
16
bool
use_save_restore{
false
};
17
18
public
:
19
explicit
SolverConfig
(std::string name);
20
SolverConfig
(
SolverConfig
&&) =
default
;
21
SolverConfig
(
const
SolverConfig
&) =
default
;
22
SolverConfig
& operator=(
const
SolverConfig
&) =
default
;
23
SolverConfig
& operator=(
SolverConfig
&&) =
default
;
24
25
[[nodiscard]] std::string Name()
const
26
{
27
return
name;
28
}
29
30
~SolverConfig
() =
default
;
31
bool
operator==(
const
std::string& rhs)
const
;
32
SolverConfig
& operator=(
const
std::string& rhs);
33
std::filesystem::path FileName(
const
std::string& problemName);
34
};
SolverConfig
Class to store the configuration of a solver Invariant: name is lowercase.
Definition
SolverConfig.h:12
src
cpp
multisolver_interface
include
antares-xpansion
multisolver_interface
SolverConfig.h
Generated by
1.12.0