News for hackers. Stuff that matters.
Re:MiniZinc: free and open-source constraint modeling language by crimsonalucard on Saturday January 20, 2018 @12:36PM (#16194286)
What is a constraint modeling language exactly? I briefly looked at the first example in the documentation, and it looks like you specify a problem and some type of solver solves the problem automatically? What algorithm is it running exactly?
Re:MiniZinc: free and open-source constraint modeling language by kaeluka on Saturday January 20, 2018 @12:49PM (#16194368)
It can run using a number of solvers, you can find a list here: http://www.minizinc.org/software.html
Re:MiniZinc: free and open-source constraint modeling language by bjourne on Saturday January 20, 2018 @01:15PM (#16194525)
It's a language for specifying problems that can be solved through constraint satisfaction. I'm unsure if such languages are even Turing complete. Their main advantage are insanely succinct problem specifications. F.e the n-queens problems: https://github.com/MiniZinc/minizinc-benchmarks/blob/master/... MiniZinc solves it for boards up to 100x100 in under a second.
Re:MiniZinc: free and open-source constraint modeling language by jahewson on Saturday January 20, 2018 @11:36PM (#16196879)
“Constraint Programming” refers, for the most part, to the solving of finite-domain problems via backtracking and constraint propagation and is typically concerned with performing a complete, global search of the solution space.

https://en.m.wikipedia.org/wiki/Constraint_satisfaction

Re:MiniZinc: free and open-source constraint modeling language by crimsonalucard on Sunday January 21, 2018 @12:17AM (#16196971)
I like this answer. However, by solution space do you mean domain space?
Re:MiniZinc: free and open-source constraint modeling language by jahewson on Sunday January 21, 2018 @12:35PM (#16198979)
Yes, sorry, the search space.
Re:MiniZinc: free and open-source constraint modeling language by callmekit on Saturday January 20, 2018 @02:56PM (#16195096)
MiniZinc is a modeling language - for problem specification. Then there are solvers that understand MiniZinc (Gecode, ECLiPSe, Google OR-Tools, ...), and they use variety of algorithms (mixed linear programming, constraint-specific algorithms, local search, SAT-solving techniques, ...). You can use the same specification of the problem in MiniZinc with different solvers.
Re:MiniZinc: free and open-source constraint modeling language by chillydawg on Saturday January 20, 2018 @12:54PM (#16194400)
Possibly a simplex solve for a large linear problem.
Re:MiniZinc: free and open-source constraint modeling language by hakank on Saturday January 20, 2018 @02:55PM (#16195086)
There is a lot off different type of solvers that can be used to solve a MiniZinc model: MIP, Constraint Programming, SAT, Hybrid SAT+CP, Local search etc.