3 ms·
Sure. Just ask ChatGPT 4 (not the free 3.5) to help you formulate some simple MIP constraints. My prompt was: (and it gave me the right answer) "I have to for
by wenc 3y ago
Sure. Just ask ChatGPT 4 (not the free 3.5) to help you formulate some simple MIP constraints.
My prompt was: (and it gave me the right answer)
"I have to formulate an MIP. I have a list of items i \in I each belong to groups g \in G. They are related by a static parameter G_{ig} which says if i in g, then 1 else 0. I want each item i to be freely and independently assigned to slots c \in C. However I want to keep items i together with other items in the same group if possible -- it's a soft preference.
How do i write the mathematical MIP formulation?"
- eru 3y agoNice, thanks!