rust-or / good_lp

Linear Programming for Rust, with a user-friendly API. This crate allows modeling LP problems, and lets you solve them with various solvers.
https://crates.io/crates/good_lp
MIT License
216 stars 35 forks source link

Feature: "alldifferent" constrant #52

Open kakukkokkal opened 1 month ago

kakukkokkal commented 1 month ago

Is it possible to add support for the "alldifferent" constraint where the solver supports it?

lovasoa commented 1 month ago

Yes, that would be nice. Which solver do you have in mind? A pull request would be welcome!