Echtzeitsysteme / Echtzeitsysteme/gips
Feature request: delete/clear EMF model + lookup data structures before solving the GUROBI MILP problem
- Dominant language
- Java
- Stars
- 7
- Forks
- 4
- Avg merge
- 5d 11h
- Merged PRs (30d)
- 10
Description
This issue is related to https://github.com/maxkratz/dissertation-ihtp/issues/44.
- In some cases, GIPS is only used to determine the optimal state of a model without actually changing the model, i.e., the selected GT rules will never be applied.
- For some larger problems, GIPS frequently produced OOM errors, e.g., because the initial model + the matches + the generated MILP problem are too large to fit in the system's memory during the MILP solving process in combination.
If both of the above combinations are valid, one could argue that the initial EMF model and all of the resulting lookup data structures (e.g., type indexer, mapping indexer, ...) could be removed after constructing the MILP problem but before solving it. This could (potentially) enable GIPS to solve large problems that cannot fit within the system's memory right now.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the entry point that constructs the MILP problem and the boundary immediately before GUROBI solves it. Identify the EMF model and lookup structures that remain reachable there, then determine which can be cleared without affecting solving. Done means large problems avoid the reported out-of-memory condition while model-solving behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100