chocoteam / choco-solver

An open-source Java library for Constraint Programming
http://choco-solver.org/
BSD 4-Clause "Original" or "Old" License
687 stars 137 forks source link

`getGraphVal()` is missing from the Solution object. #1053

Open dimitri-justeau opened 1 year ago

dimitri-justeau commented 1 year ago

From a Solution object, we can retrieve the value of an IntVar, a SetVar, or a RealVar. But this is not possible for a GraphVar. I believe that we "forgot" to integrate this when we migrated choco-graph into choco-solver.

It should not be difficult to allow this, I can take time to do it.

Cheers,

Dimitri