Search code examples
c++constraint-programmingor-tools

Implementing jobshop problem in old ORTools


I want to implement this simple jobshop example: https://developers.google.com/optimization/scheduling/job_shop but in the old version of ORTools in C++ and I can't seem to find any support for the syntaxes in the older version. I have to write it in the old version to learn the syntaxes cause I have a bigger code that's written in the older version that I have to work on and I was hoping I could find an example that's written in the old version of ORTools to learn. For example: a declaration of the solver in the new version: _modelBuilder = new sat::CpModelBuilder();

and a declaration of the solver in the older version

_modelBuilder = new Solver("scheduler", parameters);


Solution

  • The old version can be found in earlier releases:

    see here.

    This being said

    • it is no longer developed
    • the CP-SAT version is much better.