Closed NeverGivinUp closed 3 years ago
Hi, can you provide all code that creates the problem? Preferably as a self-contained example that reproduces the error.
This error can arise if you accidentally mention the same var twice in a single constraint.
Thank you @ztlpn. That's exactly what happened: I included the same variable twice, as I could see, when logging the variables before defining the constraint. It's very good, that minilp
catches such mistakes. A more clearly named error would be even better :) Thank you again!
I'm just starting to use minilp and it panics with an unwrapped
NonSortedIndices
error from thesprs
crate when callingThe panic originates from minilp's lib.rs line 279
What am I doing wrong?