Currently, the validation log in the GipsEngine will be set before the first run of the ILP solver. If the model changes afterward (e.g., the constraint that invalidated the problem vanishes), the validation log does not get an update and, therefore, breaks the following solving runs.
Currently, the validation log in the
GipsEngine
will be set before the first run of the ILP solver. If the model changes afterward (e.g., the constraint that invalidated the problem vanishes), the validation log does not get an update and, therefore, breaks the following solving runs.Example (taken from https://github.com/Echtzeitsysteme/gips-tests/pull/38, test
testMapSnodeFirstInvalid
):api.buildILPProblem()
andapi.solve()
-> The result shows that the validation log is invalid -> This is correct.api.buildILPProblem()
andapi.solve()
-> The result shows that the validation log is still invalid -> This is not correct.(This bug also occurs vice versa, see test
testMapSnodeSecondInvalid
.)