From cd22eb1699c4069cdd1517f34d3e145eff883e0f Mon Sep 17 00:00:00 2001 From: santi Date: Tue, 9 Jan 2024 09:15:05 +0000 Subject: [PATCH] Added the simple mip interface (untested) --- .idea/workspace.xml | 211 +++--- requirements.txt | 5 +- .../Core/Compilers/circuit_to_bentayga.py | 1 + .../Core/Compilers/circuit_to_newton_pa.py | 1 + .../Core/Compilers/circuit_to_optimods.py | 3 +- .../Core/Compilers/circuit_to_pgm.py | 1 + .../Utils/MIP/SimpleMip/__init__.py | 20 + .../Utils/MIP/SimpleMip/highs.py | 88 +++ .../Utils/MIP/SimpleMip/lpcst.py | 101 +++ .../Utils/MIP/SimpleMip/lpexp.py | 185 ++++++ .../Utils/MIP/SimpleMip/lpvar.py | 129 ++++ .../Utils/MIP/SimpleMip/problem.py | 618 ++++++++++++++++++ .../Utils/MIP/selected_interface.py | 3 +- 13 files changed, 1260 insertions(+), 106 deletions(-) create mode 100644 src/GridCalEngine/Utils/MIP/SimpleMip/__init__.py create mode 100644 src/GridCalEngine/Utils/MIP/SimpleMip/highs.py create mode 100644 src/GridCalEngine/Utils/MIP/SimpleMip/lpcst.py create mode 100644 src/GridCalEngine/Utils/MIP/SimpleMip/lpexp.py create mode 100644 src/GridCalEngine/Utils/MIP/SimpleMip/lpvar.py create mode 100644 src/GridCalEngine/Utils/MIP/SimpleMip/problem.py diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c9df09775..f0ae81bf1 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -28,9 +28,20 @@