GithubHelp home page GithubHelp logo

manleviet / minizincu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rafaelcaballero/minizincu

0.0 2.0 0.0 7.71 MB

Extensions of the Contraint modelling language MiniZinc

License: GNU General Public License v3.0

JavaScript 36.90% Java 63.05% Shell 0.05%

minizincu's Introduction

MiniZincU

Extensions of the Contraint modelling language MiniZinc. This library is a source to source transformer for MiniZinc models. It allows extend MiniZinc using union types, and uses a program transformation to produce a valid MiniZinc model with the same semantics. Check this paper for details. This is a joint work with Peter Stuckey and Antonio Tenorio-Fornés.

Requirements

  • Java 8 or higher
  • MiniZinc 2.0 or higher

Using MiniZincU

In order to try the code you can have a look to the examples folder of the repository. The transformation is

  • Download the jar file
  • Suppose you wish to try the model contained in arith.mzn. Then type:
    • java -jar minizincu.jar arith.mzn > aritht.mzn
    • minizinc aritht.mzn

Limitations

  • Declared parameter (constants) are still not working inside union types.
  • Case statements are only allowed inside predicates/functions
  • Predicate arguments that correspond to case variables in the predicate body can be only either variables or constants

minizincu's People

Contributors

rafaelcaballero avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.