JuMP in julia

I’m going to gently remind you to step back and write down the formulation you want to achieve:

Have you formulated a constraint like the following?

\sum\limits_{i \in 1 \ldots I} a_{ij} x_i \le b_j \quad \forall j\in 1\ldots J

What are the sets 1\ldots I and 1\ldots J? What are the decision variables x_i? What are the data a_{ij} and b_i?

this img below is the constraint, it needs to be greater than 1.

PTV68 is a matrix of data. It does not contain any decision variables. It is not a constraint. Forcing a matrix of data to be greater than 1 does not have a mathematical meaning.

If you’re translating this problem from MATLAB, perhaps you could show the MATLAB code you’re trying to reproduce?

1 Like