Hi,
if you turn
dvar interval BacketInterval[b in Backets] optional size duration * 8;
dvar interval MeltingInterval[m in Meltings] optional size duration;
into
dvar interval BacketInterval[b in Backets] optional
in 0..1000
size duration * 8 ;
dvar interval MeltingInterval[m in Meltings] optional
in 0..1000
size duration ;
you ll get a solution very quickly
regards
------------------------------
[Alex] [Fleischer]
[EMEA CPLEX Optimization Technical Sales]
[IBM]
------------------------------
Original Message:
Sent: Thu October 07, 2021 09:48 AM
From: Rustam Salikhov
Subject: CP Optimizer: cannot solve the simple problem
Hi everyone,
My colleagues work on the big project and they have created the model that cplex cannot solve. I simplified the model to show you (see the attachments).
I have tried to run the model via oplrun.exe - the solve process doesn't start (it freezes on the problem generation stage).
Of course, the model shouldn't have the solution. The reason in the definition of BucketInterval - it should have the size 8*60, but when we use span constraint it will be impossible (only one MeltingInterval exists with the size 60). So I think that cplex should return that there is no solution. Why cplex didn't it?
------------------------------
Rustam Salikhov
------------------------------
#DecisionOptimization