Revision 121131be58bc1b6f91a4863bd01fe7cbd0439ab9 authored by Max Göttlicher on 16 August 2023, 15:14:58 UTC, committed by Max Göttlicher on 16 August 2023, 15:16:03 UTC
1 parent 0fb04b6
gurobi_common.hpp
#ifndef PDS_GUROBI_COMMON_HPP
#define PDS_GUROBI_COMMON_HPP
#include "pds.hpp"
struct GRBModel;
struct GRBVar;
struct GRBEnv;
namespace pds {
struct MIPModel {
std::unique_ptr<GRBModel> model;
map<PowerGrid::VertexDescriptor, GRBVar> xi;
MIPModel();
MIPModel(MIPModel&& other) = default;
virtual ~MIPModel();
};
void preloadMIPSolver();
GRBEnv& getEnv();
void relaxMIPModel(MIPModel&);
}
#endif //PDS_GUROBI_COMMON_HPP

Computing file changes ...