Reputation: 23
I would like to write a solver for scheduling production in SimCity buildit. As I am a total beginner with Minizinc ( and solvers in general - blush), I am not sure whether what I want to try makes sense at all.
What I would like to understand is whether the creation of a planner to spit out the fastest possible schedule for a list of items to be produced is possible in Minizinc at all or whether I better start explicit coding right away ?
Upvotes: 1
Views: 72
Reputation: 5786
These kinds of problems can be solved using MiniZinc, although I haven't heard of somebody solving this specific problem. Your problem seems to be closely related to the jobshop problem. This problem might provide a good baseline and there are various models for versions of this problem to start from. You can find many example models (of varying quality) in the MiniZinc benchmark repository: https://github.com/MiniZinc/minizinc-benchmarks
As Patrick Trentin pointed out, you have to keep in mind the complexity of the kinds of problems that are solved using MiniZinc. Often the time to solve them can grow exponentially or even worse. To find solution to the hard problems both the way in which the problem is modelled and the techniques the solver uses (and which solver to use) to solve the problem has be taken into account. If you are just getting started with MiniZinc I would suggest following the MiniZinc Coursera courses, which will get you started in no time: https://www.coursera.org/learn/basic-modeling
Upvotes: 2