Re: How to solve the same model with different data ? Change a value and generate again

Hi,

in your model I see

int CurIte=1;

and then in the main

data2.CurIte = i;

which is not what I shared with my example in that post.

In the model I wrote

float maxOfx = …;

and in the main

var data2= new IloOplDataElements();
  data2.maxOfx=k;

regards

 

https://www.linkedin.com/pulse/ist-mathematische-optimierung-und-wie-kann-sie-helfen-alex-fleischer/

 

Source: Re: How to solve the same model with different data ? Change a value and generate again