Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
322 views
in Technique[技术] by (71.8m points)

c++ - 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);

question from:https://stackoverflow.com/questions/65952097/implementing-jobshop-problem-in-old-ortools

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...