Global AI and Data Science

 View Only
  • 1.  CP Optimizier Retrieving Variable Domains

    Posted Tue November 14, 2023 12:24 PM
    Edited by Andres Parada Wed November 15, 2023 05:03 PM

    Hello,

    I solve a scheduling problem with the CP optimizer using Docplex and Python. I can call the propagation function without solving, and then I can retrieve the domains. However, I would like to get the domains after solving the problem with a time limit. After I hit the time limit, I would like to retrieve the variable domains that are still feasible for the non-evaluated branching nodes. The domains should be much tighter than the ones I get from just calling the propagation once. Is there some way to get these values?



    ------------------------------
    Maximilian Kolter
    ------------------------------



  • 2.  RE: CP Optimizier Retrieving Variable Domains

    Posted Thu November 16, 2023 11:59 AM

    No.

    Anyway, there is no guarantee that 1-D projections on the variables of the remaining search space  reduce the domains more than propagation, especially if the problem is large and requires a time limit.

    You probably want something else, like a set of additional constraints or nogoods that synthesize the explored space. 



    ------------------------------
    Olivier Lhomme
    ------------------------------



  • 3.  RE: CP Optimizier Retrieving Variable Domains

    Posted Fri November 17, 2023 05:36 PM
    This is awesome! 





  • 4.  RE: CP Optimizier Retrieving Variable Domains

    Posted Tue November 21, 2023 09:07 AM
    Edited by mciky jiol Thu December 07, 2023 05:12 AM

    The domains will be tighter than the ones you get from just calling the propagation once as my fusion domain.



    ------------------------------
    mciky jiol
    ------------------------------