Skip to main content
1 vote

How can I create a python program that organizes CSV into combinations?

Let $Q$ and $T$ be the number of quartz and tungsten plates respectively, $q_{i}$ and $t_{i}$ the thickness of the $i$-th quartz plate and the $i$-th tungsten plate respectively, and $G$ the thickness ...
prubin's user avatar
  • 39.8k
1 vote

How to write conditional constraints and sum the result in Linear Programming in Python?

To minimize $\sum_i \max(f_i,0)$, introduce a nonnegative variable $y_i$ and minimize $\sum_i y_i$ subject to $y_i\ge f_i$. To enforce $\sum_i \min(f_i,0)\ge -5000$, introduce a nonpositive variable $...
RobPratt's user avatar
  • 33.1k

Only top scored, non community-wiki answers of a minimum length are eligible