//go to: https://www.lutanho.net/goodies/codetester.html //click on: (*)javascript //copy & paste: this text //adapt: T, c, f values //click on: [run] //Atamturk - Munoz (2004): A study of the lot–sizing polytope //capacity/demand ratios c={2, 3, 4, 5} //setup/holding cost ratios f={100, 200, 500, 1000} //holding cost=10 //p_t=U(81,119) //d_t=U(1,19) //capacity=U(0.75*c*d, 1.25*c*d) //setup cost=U(0.90*f*h,1.10*f*h) var T=90; var c=2; var f=100; var d=10; var h=10; function U(lb,ub) { var ll=(""+Math.round(ub)).length; var vv=""+(Math.floor(lb+Math.random()*(1+ub-lb))); while (vv.length
');
  write('//c='+c+', f='+f+'
') write('//I u_0 y_0 y_I
') write(' '+T+'; 0; 0; 0;
') write('startup x_min fix var x_max demand y_min fix var y_max
'); for (ii=0; ii'); write('
'); close(); }