Hi all!

I try to figure out how can I implement the following use-case:

Imagine, I have a simple model(just to explain). Smth like:

int a http://1..2= 2,2;

int d http://1..2 =...;

dvar int+ x1;

dvar int+ x2;

minimize x1+x2;

subject to{

a[1]*x1>=d[1];

a[2]*x2>=d[2];

}

And now I want to test my model for randomly generated data d has the same value all the time.

What is the easiest way to do that? Looks like the simple use-case, but I stuck here...

Actually, I generate the data in MATLAB, may I somehow implement the described above case using API for example? My real model is huge and I cannot easily find the needed data piece in the A matrix.

Thank you in advance for the help!

Topic