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

OR Tools 9.4 Flatzinc release #3457

Closed
scand1sk opened this issue Sep 12, 2022 · 3 comments
Closed

OR Tools 9.4 Flatzinc release #3457

scand1sk opened this issue Sep 12, 2022 · 3 comments
Assignees
Labels
Bug Doc: Optimization Site Issue related to https://developers.google.com/optimization/ or Documentation in general Feature Request Missing Feature/Wrapper Lang: C++ Native implementation issue Solver: Flatzinc
Projects
Milestone

Comments

@scand1sk
Copy link

Are you going to release binaries for OR-Tools FlatZinc 9.4?
I'm particularily interested in a Debian version but the release of 9.3 for Ubuntu 20.04 works just fine on Debian Sid (> 11).
Alternatively, build instructions would be fine, too.

@Mizux Mizux self-assigned this Sep 12, 2022
@Mizux Mizux added the Doc: Optimization Site Issue related to https://developers.google.com/optimization/ or Documentation in general label Sep 12, 2022
@Mizux Mizux added this to the v9.5 milestone Sep 12, 2022
@Mizux
Copy link
Collaborator

Mizux commented Sep 13, 2022

bad news: flatzinc support in Makefile has been removed so we can't generate flatzinc archive anymore
good new: you can still build it using the CMake based build by enabling it using -DBUILD_FLATZINC=ON and it is already
shipped with the cpp archive...

or-tools/CMakeLists.txt

Lines 96 to 97 in ae7e6b5

CMAKE_DEPENDENT_OPTION(BUILD_FLATZINC "Build flatzinc" ON "BUILD_CXX" OFF)
message(STATUS "Build Flatzinc: ${BUILD_FLATZINC}")

Need to think about:

  1. Add support for Debian Sid (aka docker debian:sid)
    ref: https://hub.docker.com/_/debian
    ref: https://wiki.debian.org/DebianTesting
  2. Enable flatzinc build so it will be available in the C++ binary archive [already done]
  3. Bring back makefile support [no ressource to do it]

@Mizux Mizux added this to To do in ToDo via automation Sep 13, 2022
@Mizux Mizux added Bug Feature Request Missing Feature/Wrapper Lang: C++ Native implementation issue Solver: Flatzinc labels Sep 13, 2022
@Mizux
Copy link
Collaborator

Mizux commented Sep 30, 2022

cpp archives contains a bin/fzn-ortools binary which should be the previous flatzinc binary.
note: has been renamed since we also provide the flatzinc library libflatzinc.so and in CMake you can't have two targets with the same name.

Is it sufficient for you ?

@Mizux Mizux closed this as completed Sep 30, 2022
ToDo automation moved this from To do to Done Sep 30, 2022
@scand1sk
Copy link
Author

scand1sk commented Oct 6, 2022

Yes, the binary from the CPP archive works on my current Debian Sid installation.
Thank you very much for your input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Doc: Optimization Site Issue related to https://developers.google.com/optimization/ or Documentation in general Feature Request Missing Feature/Wrapper Lang: C++ Native implementation issue Solver: Flatzinc
Projects
ToDo
  
Done
Development

No branches or pull requests

2 participants