Thanks for the quick answer. I have exported the .cpo with version 2010 so it does not give a warning when loading with cpoptimizer.exe version 2010 (if I do the export with 2210 when loading in 2010 cpoptimizer I get a warning saying unexpected results might be found).
For a simpler model (model.cpo) that actually finds the optimum solution fast (few seconds), version 2210 is faster (see benchmark201 and benchmark221) in proving that an optimum solution is found, but slower in showing that solution.
This behaviour is clearer for a more complex model (model2.cpo). According to the benchmark (see attached benchmark201_model2 and 221_model2) again it shows 2210 is faster than 2010. However, the time shown in the statistics I guess is when the optimizer proves it has found an optimum solution. In reality, running my program shows that for 2010 the best solution (an actually optimal) is found after 7s and with 2210 is found after 51s.
When I mean simpler model, what I want to say is that the data (a two dimensional matrix) has less rows (11 vs 34).
Let me know if you need futher details
Thanks
------------------------------
javier rodrigo
------------------------------
Original Message:
Sent: Wed August 03, 2022 11:19 AM
From: Renaud Dumeur
Subject: CPLEX 22.1 performance is slower than 20.1 (CP optimizer)
Dear Javier,
You are right, changing a CPLEX engine parameter won't be of any use since you are using CP Optimizer.
Can you confirm the slowdown by exporting the .cpo file, load it using the 'cpoptimizer' executable and by performing the 'tool run seeds' command?
If the slowdown is confirmed, please let provide what a (minimal) model that demonstrates it.
Cheers,
------------------------------
Renaud Dumeur
Original Message:
Sent: Wed August 03, 2022 08:06 AM
From: javier rodrigo
Subject: CPLEX 22.1 performance is slower than 20.1 (CP optimizer)
Hi
I have a model done with CP Optimizer API for c++ that runs 4 times faster with 20.1 than with 22.1. I dont think the solution proposed for the (Decision Optimization) is valid in my case, right (IloCplex::Param::Emphasis::MIP) ?
It's running with default parameters except for:
cp.setParameter(IloCP::LogVerbosity, IloCP::Quiet);
cp.setParameter(IloCP::SearchType, IloCP::Restart);
cp.setParameter(IloCP::DynamicProbing, IloCP::Auto);
cp.setParameter(IloCP::Workers, 8);
Any ideas?
Thanks
------------------------------
javier rodrigo
------------------------------
#DecisionOptimization