# Tag Info

### Can docplex solve a mixed integer quadratic programming (MIQP) problem?

In OPL You can write ...
• 3,337

### How to put this restriction using Gurobi in python

Firstly, your constraint should rather look this this: $$\sum_{j=0}^{i}X_j \leq H_i \quad \forall i \in I$$ $$\sum_{j=0}^{i}X_j \geq L_i \quad \forall i \in I$$ In your code this should translate to: <...
• 564
This is one way you can formulate/model the problem:  \begin{align*} x_{i,t} &\in R^{+} \text{ variable denoting amount of raw material $i$ processed/out in time $t$}\\ q_{i,t} &\in R^{+} \...
I will first formalize the described problem in mathematical notations, I think it is more suitable, rather than a piece of code, for providing a better understanding. So, let $B$ be the brands set; \$...