Incompatibility with `Xtext v2.33.0` and `MWE2 v2.16.0`: Fixes broken dependencies |
||
---|---|---|
org.emoflon.gips.build | ||
org.emoflon.gips.core | ||
org.emoflon.gips.core.dependencies | ||
org.emoflon.gips.feature | ||
org.emoflon.gips.gipsl | ||
org.emoflon.gips.gipsl.ide | ||
org.emoflon.gips.gipsl.ui | ||
org.emoflon.gips.intermediate | ||
org.emoflon.gips.updatesite | ||
.gitignore | ||
CITATION.cff | ||
LICENSE | ||
README.md | ||
devProjectSet.psf |
README.md
GIPS
GIPS is an open-source framework for Graph-Based ILP Problem Specification.
Installation (development)
- Install AdoptOpenJDK 17 (HotSpot JVM) or newer.
- Install eMoflon::IBeX as described here.
- Install at least one of the supported ILP solvers:
- Install Gurobi in version
10.0.3
and activate a license for your computer.- Currently, Gurobi is the default ILP solver used in GIPS because of the great performance.
- Install GLPK in the newest version (
4.6.5
) and add it to your path.- GLPK is an open-source ILP solver that can be used without a charge.
- Install CPLEX in version
22.1.1
and activate a license for your computer (if neccessary).- CPLEX is a commercial alternative to the other ILP solvers implemented in GIPS.
- Install Gurobi in version
- Clone this Git repository to your local machine and import it into Eclipse: File -> Import -> General -> Existing Projects into Workspace. Import all projects.
- As an alternative, you can use this PSF file for the import.
- Inside the Eclipse development workspace ...
- ... Run
Run all GIPS MWE2 files.launch
fromorg.emoflon.gips.core/launch
with right click Run As -> Build all GIPS MWE2 files. - ... build all projects (Project -> Clean... -> Clean all projects) to trigger code generation.
- ... Run
- Launch a runtime workspace (while using a runtime Eclipse) as stated in the eMoflon::IBeX installation steps to start using GIPS.
A good start point to verify your installation is to run some of the GIPS examples or the GIPS tests.
Code-Style
This project uses the built-in code-style and code-formatter of Eclipse. Before contributing, please set-up your Eclipse code-style settings as follows:
- Window -> Preferences -> Java
- -> Code Style -> Clean Up -> Active profile: -> "Eclipse [built-in]" (default)
- -> Code Style -> Formatter -> Active profile: -> "Eclipse [built-in]" (default)
- -> Code Style -> _Organize Imports: -> "java, javax, org, com" (default)
- -> Editor -> _Save Actions:
- Check "Perform the selected actions on save"
- Check "Format source code"
- Check "Format all lines"
- Check "Organize imports"
- Check "Additional actions"
By using this settings, you should be unable to commit unformatted code.
Installation (user)
- Install AdoptOpenJDK 17 (HotSpot JVM) or newer.
- Install eMoflon::IBeX as described here.
- Install at least one of the supported ILP solvers:
- Install Gurobi in version
10.0.3
and activate a license for your computer.- Currently, Gurobi is the default ILP solver used in GIPS because of the great performance.
- Install GLPK in the newest version (
4.6.5
) and add it to your path.- GLPK is an open-source ILP solver that can be used without a charge.
- Install CPLEX in version
22.1.1
and activate a license for your computer (if neccessary).- CPLEX is a commercial alternative to the other ILP solvers implemented in GIPS.
- Install Gurobi in version
- Install GIPS from the public Eclipse update site: https://echtzeitsysteme.github.io/gips-updatesite/snapshot/updatesite/
- Launch a runtime workspace (while using a runtime Eclipse) as stated in the eMoflon::IBeX installation steps to start using GIPS.
Usage (running simulations)
Please refer to the GIPS examples reposiory.
Tests
Please refer to the GIPS tests repository.
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for more details.