Live data from Hacker News

MiniZinc: free and open-source constraint modeling language

minizinc.org

1–10 of 34 posts

Re: MiniZinc: free and open-source constraint modeling language

#3

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?

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

#4

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?

Possibly a simplex solve for a large linear problem.

Re: MiniZinc: free and open-source constraint modeling language

#7

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?

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

#9
post #8

People need to specify what type of constraint their solver handles. It's a rather large space, and to not even mention what type of constraints on the page is a major oversight.

Hear, hear. Is this good for optimization problems over the reals, or only finite-domain problems? If the former, can it solve nonlinear problems?

Re: MiniZinc: free and open-source constraint modeling language

#10
post #8

People need to specify what type of constraint their solver handles. It's a rather large space, and to not even mention what type of constraints on the page is a major oversight.

MiniZinc itself is only a specification language, which a large number of solvers can use.
Post reply on HN