Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation with new minizinc version #27

Open
MaxOstrowski opened this issue May 5, 2021 · 1 comment
Open

Installation with new minizinc version #27

MaxOstrowski opened this issue May 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@MaxOstrowski
Copy link
Member

After a bugfix in the minizinc, every version > 2.5.5 will do to implement a better installation script.

To find out the appropriate paths that MiniZinc will use, you can call minizinc with the --config-dirs option, which will output something like this (this is for my own installation):

{
"globalConfigFile" : "/Applications/MiniZincIDE.app/Contents/Resources/share/minizinc/Preferences.json",
"userConfigFile" : "/Users/tack/.minizinc/Preferences.json",
"userSolverConfigDir" : "/Users/tack/.minizinc/solvers",
"mznStdlibDir" : "/Applications/MiniZincIDE.app/Contents/Resources/share/minizinc"
}

You could parse this (it's JSON) and then install your solver accordingly.

Cheers,
Guido

With these information it should be possible to copy all necessary files to correct directories.

[1] https://groups.google.com/g/minizinc/c/ExzDVEZtvjQ

@MaxOstrowski MaxOstrowski added the enhancement New feature or request label May 5, 2021
@MaxOstrowski
Copy link
Member Author

Currently I do need to have fzn-flatzingo.sh and stuff in the PATH! How to install them !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant