The complexity of the filtering algorithm can depend on the domain sizes.
Do you have the same problem using the Choco.sum or Choco.scalar constraint ?
Try also to change the value of model.setDefaultExpressionDecomposition(final Boolean defDecExp)
Best,
Arnaud
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i can't use Choco.sum or Choco.scalar, i should create a temporary variable ie to compute my objective and then Choco.eq(obj,ie)
but in changing the weight obj=ie , obj=100*ie and obj=10000*ie the duration of resolution change
is that normal in choco??
i tried as you sais to change setDefaultExpressionDecomposition, it work with true (the same result and duration as described) and with false it is much more long i wait for 4 minutes and no results
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi !!
I have a question and i want just to understand if that's normal and why
i have to maximize an objectif variable "obj"
the solver return me a solution in 30 seconds, but when i change the weight of obj the solver takes more time to give the solution.
in 40 seconds
in 2 minutes and 39 sec
thank you very much for help
Hello,
The complexity of the filtering algorithm can depend on the domain sizes.
Do you have the same problem using the Choco.sum or Choco.scalar constraint ?
Try also to change the value of model.setDefaultExpressionDecomposition(final Boolean defDecExp)
Best,
Arnaud
hi arnaud,
i can't use Choco.sum or Choco.scalar, i should create a temporary variable ie to compute my objective and then Choco.eq(obj,ie)
but in changing the weight obj=ie , obj=100*ie and obj=10000*ie the duration of resolution change
is that normal in choco??
i tried as you sais to change setDefaultExpressionDecomposition, it work with true (the same result and duration as described) and with false it is much more long i wait for 4 minutes and no results
Hello,
Could you provide a minimal example ?
Best.
this is an example
in changing the weight 1000 in this example with 1 or 100000, the duration remarkably change
thanks
Thanks, I will have a look this evening.
a small modification in _
_
_
thank you very much_
There is no explanation?
Normally, it is expected that the response time will be the same, Maximizing (X) or Maximizing (1000 X) it is the same.
Thans