hops
include
hops
LinearProgram
GurobiEnvironmentSingleton.hpp
Go to the documentation of this file.
1
#ifndef HOPS_GUROBIENVIRONMENTSINGLETON_HPP
2
#define HOPS_GUROBIENVIRONMENTSINGLETON_HPP
3
4
#include <gurobi_c++.h>
5
6
namespace
hops
{
7
class
GurobiEnvironmentSingleton
{
8
using
GurobiEnvironment = GRBEnv;
9
public
:
10
static
GurobiEnvironmentSingleton
&
getInstance
();
11
12
const
GurobiEnvironment &
getGurobiEnvironment
();
13
14
private
:
15
GurobiEnvironmentSingleton
();
16
17
GurobiEnvironment environment;
18
};
19
}
20
21
#endif //HOPS_GUROBIENVIRONMENTSINGLETON_HPP
hops::GurobiEnvironmentSingleton
Definition:
GurobiEnvironmentSingleton.hpp:7
hops::GurobiEnvironmentSingleton::getInstance
static GurobiEnvironmentSingleton & getInstance()
hops
Definition:
CsvReader.hpp:8
hops::GurobiEnvironmentSingleton::getGurobiEnvironment
const GurobiEnvironment & getGurobiEnvironment()
Generated by
1.8.17