Quantcast
Channel: OR-tools: Force partial assignments - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Betcha for OR-tools: Force partial assignments

I'm not 100% sure that it is correct or optimal performance-wise, but it looks like the 3rd constraint could be handled like this:for container, container_obligations in obligations.items(): if not...

View Article


OR-tools: Force partial assignments

I want to solve an assignment problem: putting items in containers.Each container must contain:a certain amount of items (sizes)certain allowed items (possibilities)at least one subset of items within...

View Article

Browsing all 2 articles
Browse latest View live


Latest Images