rust-or/rust-lp-modeler

Derive Eq, Hash etc. for variables

remysucre opened this issue · 2 comments

It's common to map objects to variables, like in the Assignment Problem example. Sometimes one would also like to map a variable back to the object, like the BiMap here. For example, the user might want to look for the object associated with a variable once a solution is found. This inverse mapping would require variables like LpBinary to implement Eq and Hash.

A solution for #35 would fix this one ?

A solution for #35 would fix this one ?

Agreed!