Installation Or-tools on Windows

275 views
Skip to first unread message

MARIO CODINA SANCHEZ

unread,
Jul 24, 2021, 11:37:38 AM7/24/21
to or-tools-discuss

Good morning Or-tools-discussion forum, I'm new to Or_Tools

I keep trying the Binary Installation on Windows from google ortools for Java, but it doesn't work for me, I'll tell you how I did the installation:

1.      When I do the "Binary Installation" in Windows https://developers.google.com/optimization/install/java/windows

This download a Zip file "or-tools_VisualStudio2019-64bit_v9.0.9048" and the instruction is to download it and unzip it, But:

•       Where should I unzip it?

•       When unzipping it there is a file for its installation?

•       What other action should I take?

2.      This also happens with FlatZinc for VisualStudio2019 which also downloads a Zip file “or-tools_flatzinc_VisualStudio2019-64bit_v9.0.9048”, and the same questions are repeated.

I appreciate you can support me to solve this case, greetings and thanks.

Laurent Perron

unread,
Jul 24, 2021, 1:44:35 PM7/24/21
to or-tools-discuss
You get a jar and some dlls. I believe in the ortools-9.0.9048/lib directory.
You need to use them in your project, and add the java.library.path to point to the same directory.

And don't forget to add visual studio 2019 64bit redistributables.

The flatzinc archive is a self contained binary with some mzn file needed by the minizinc frontend. There should be an ortools.msc file to you with the integration.
Laurent Perron | Operations Research | lpe...@google.com | (33) 1 42 68 53 00



--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/or-tools-discuss/f9910b8b-4dc3-4a55-b27a-ef6116eec240n%40googlegroups.com.

Mizux Seiha

unread,
Jul 26, 2021, 3:59:43 AM7/26/21
to or-tools-discuss
please notice we now provide a maven package: https://mvnrepository.com/artifact/com.google.ortools/ortools-java
Reply all
Reply to author
Forward
0 new messages