A C++ Framework for Optimization
Loading...
Searching...
No Matches
read_from_file.h
1//
2// Created by henri on 04.03.24.
3//
4
5#ifndef IDOL_READ_FROM_FILE_H
6#define IDOL_READ_FROM_FILE_H
7
8#include <string>
9#include "idol/mixed-integer/modeling/models/Model.h"
10#include "Description.h"
11#include "idol/mixed-integer/optimizers/wrappers/GLPK/GLPK.h"
12
13namespace idol::Bilevel {
14
15 namespace impl {
17 read_from_file(Env &t_env,
18 const std::string &t_path_to_aux,
19 idol::Bilevel::Description& t_lower_level_description,
20 const std::function<Model(Env &, const std::string &)> &t_mps_reader);
21 }
22
23 Model read_from_file(Env& t_env, const std::string& t_path_to_aux, Bilevel::Description& t_lower_level_description);
24 std::pair<Model, Bilevel::Description> read_from_file(Env& t_env, const std::string& t_path_to_aux);
25
26}
27
28#endif //IDOL_READ_FROM_FILE_H