Global AI and Data Science

Global AI & Data Science

Train, tune and distribute models with generative AI and machine learning capabilities

 View Only

Bin Packing Problem using interval variables (docplex.cp)

  • 1.  Bin Packing Problem using interval variables (docplex.cp)

    Posted Tue November 21, 2023 05:51 PM

    Hello all,

    I am new to programming in CPLEX and I am trying to solve a problem similar to bin packing problem using constraint programming. 
    The items to be added in the bins are linked to each other, e.g. item A needs to be put in a bin before item B can be put in a bin. I believe the scheduling functions such as start_before_start, etc. would be a fit for this constraint, hence I am trying to use interval variables for my tasks and bins but I am unable to do so. 

    Any help or ideas on how to use interval variables for bin packing problem are welcome.

    Thanks in advance!

    P.S @ALEX FLEISCHER Would be helpful if you could provide your inputs on this. Thanks!



    ------------------------------
    Aarushi Gupta
    ------------------------------

    #AIandDSSkills