% 
% Data file for planning production with uncertain demand.

m = 10;
n = 5;
A = [...
     2.366901e+00   9.225166e+00   3.134479e-01   1.167367e-03   2.630108e+00;
     7.629718e+00   6.572125e+00   2.968444e-01   3.926119e+00   8.304189e+00;
     2.953393e-01   7.043942e+00   4.266152e+00   3.010095e+00   5.905376e-02;
     3.350696e+00   9.787648e+00   3.654591e+00   9.173810e+00   6.003669e+00;
     6.129761e+00   4.985908e+00   7.246996e+00   9.907955e-01   3.258985e+00;
     8.628890e+00   9.462188e+00   8.075062e-01   6.788963e+00   5.681140e+00;
     9.636813e-01   7.721915e+00   1.984296e+00   6.986341e+00   8.710456e+00;
     2.895132e+00   5.014184e+00   5.930241e+00   2.392373e+00   5.322871e+00;
     7.380000e+00   4.801396e+00   5.443409e+00   5.222640e+00   9.737169e+00;
     6.244729e+00   2.479154e+00   7.607417e+00   8.454429e-01   7.471550e+00;
];
K = 150;
D = [...
     1.823150e+00   4.468386e+00   2.098241e+01   7.817137e-02   1.796871e+00;
     1.279756e+00   2.703723e+00   4.012611e-01   2.312269e+00   4.468887e-01;
     5.473549e-01   4.090165e-01   3.128947e+00   4.970814e-01   1.261003e+00;
     8.232331e-01   7.134002e-01   1.133941e+00   1.528819e+00   4.468889e-01;
     1.781047e+00   2.382142e+00   1.714870e+00   7.477301e-01   7.056618e-01;
     3.484286e-01   2.188641e+00   4.384175e-01   8.306917e-01   2.784435e-01;
     1.031381e+00   4.014414e+00   6.497793e-01   2.209316e+00   1.303510e+00;
     1.242680e+00   2.128004e+00   1.424320e-01   1.383997e+00   1.496577e+00;
     4.450152e-01   1.184871e+00   8.386955e-01   8.317189e-01   3.326042e-01;
     2.561377e+00   3.470285e+00   2.098456e+00   4.490646e-01   1.723213e+00;
     3.876326e+00   1.075141e+01   2.533675e+00   3.954658e-01   9.400864e-01;
     1.573755e+00   1.345551e+00   9.647599e-01   5.124024e-01   2.295520e+00;
     1.797884e+00   2.939981e+00   6.104386e-01   4.726588e-01   9.409702e-01;
     2.014653e+00   8.859076e-02   1.540400e+00   2.702661e+00   3.314645e+00;
     3.962622e-01   1.114124e+00   2.308833e+00   3.565009e-01   7.739983e-01;
     9.266482e-01   1.101628e+00   5.603587e+00   2.798290e-01   3.601448e-01;
     1.137375e+00   7.153897e-01   1.285353e+00   8.653653e-01   1.459176e+00;
     4.993186e-01   4.185179e-01   3.959537e-01   2.073955e+00   2.961763e-01;
     4.754604e-01   1.305775e-01   9.288993e-01   1.089987e+00   4.745691e-01;
     3.780733e-01   8.874691e-02   2.794301e+00   3.737773e-01   1.194311e+00;
     4.100969e-01   5.607233e-01   1.243631e+00   1.328453e+00   7.235800e-01;
     8.052541e-01   2.192772e+00   2.138515e+00   7.115700e-01   7.955880e-01;
     1.102323e+00   2.486591e+00   1.248309e+01   4.142843e-01   1.463658e+00;
     1.966935e+00   1.501237e+00   3.264282e+00   4.087127e-01   3.911884e+00;
     1.474487e+00   2.869848e-01   3.406693e+00   1.229089e+00   2.350832e+00;
     3.663001e-01   1.789890e+00   3.035660e+00   8.452563e-01   2.037710e+00;
     3.866489e+00   5.779070e+00   5.821888e-01   9.470492e-01   5.886979e-01;
     4.491017e+00   6.738071e-01   5.740476e-01   2.388956e+00   8.742224e-01;
     2.261265e+00   1.054596e+00   3.432211e+00   1.079963e+00   5.361823e-01;
     1.428713e+00   7.495350e-01   2.047528e-01   4.056754e-01   5.666540e-01;
     8.523787e-01   3.022119e+00   9.641587e-01   2.260551e+00   5.258023e-01;
     5.650477e-01   9.430067e-02   1.406823e+00   1.544823e+00   6.316938e-01;
     4.334142e+00   3.997638e-01   2.539409e-01   1.287962e+00   6.179579e-01;
     5.038950e-01   7.783972e-01   4.615049e-01   2.071867e+00   8.056259e-01;
     1.857728e+00   1.446469e+00   4.880382e-01   2.050057e+00   5.831262e-01;
     5.475881e-01   1.084877e+00   2.174482e-01   5.129585e-01   2.537524e+00;
     1.579958e+00   1.973445e+00   1.085465e+00   9.049172e-01   2.938033e+00;
     7.008069e-01   1.009348e-01   9.011209e-01   6.049783e-01   1.194807e+00;
     3.521128e+00   6.937134e-01   8.538338e-01   1.041088e+00   7.435762e-01;
     3.268088e+00   2.105865e-01   1.307836e+00   4.703088e-01   1.393924e+00;
     8.850782e-01   8.110437e-01   2.574154e-01   3.342012e-01   8.807061e-01;
     1.110038e+00   3.228909e+00   4.016363e+00   5.804903e+00   4.784591e-01;
     1.366805e+00   5.218398e+00   2.205597e+00   2.517014e-01   4.137130e-01;
     1.180946e+00   2.251617e+00   7.722724e-01   6.082285e-01   2.319896e-01;
     4.085293e-01   2.115877e+00   2.458027e+00   1.674687e+00   5.997374e-01;
     2.333277e+00   2.654988e+00   7.747029e-01   2.204602e-01   6.389711e+00;
     7.331545e-01   8.219477e-01   2.119958e+00   5.664738e-01   3.364872e-01;
     3.175548e+00   8.122063e-01   5.032812e+00   9.717033e-01   1.008404e+00;
     1.164568e+00   1.714440e+00   8.159866e-01   4.302645e-01   3.765947e-01;
     1.055059e+00   1.477590e+00   1.408107e+00   4.508623e-01   5.895123e-01;
     1.363187e+00   3.552901e-01   6.626258e-01   5.798187e-01   5.434897e-01;
     6.688307e-01   1.678631e+00   9.706927e-02   1.937033e-01   3.108932e-01;
     4.929448e-01   2.041367e+00   6.869840e-01   5.699279e+00   4.891501e-01;
     2.277493e+00   7.512092e-01   2.029671e+00   3.425683e-01   1.722415e+00;
     2.006249e-01   2.405320e+00   5.116918e-01   6.069407e-01   1.010445e+00;
     1.993326e+00   4.169884e-01   8.618155e-01   6.412336e-01   2.260980e+00;
     2.228263e+00   4.848213e-01   1.516464e+00   4.622421e-01   4.615136e-01;
     1.216700e+00   1.594342e+00   1.096074e+00   2.497627e-01   5.750008e-01;
     1.487536e+00   8.280133e-01   3.509678e-01   9.971327e-01   1.055016e+00;
     1.126131e+00   9.218687e-01   1.266140e+00   4.481169e-01   2.651644e-01;
     8.232070e-01   1.428931e+00   1.952670e+00   9.477021e-01   1.237808e+00;
     5.861948e-01   3.470954e-01   1.838166e+00   4.777565e-01   1.681890e+00;
     4.590006e-01   1.907253e-01   7.259355e-01   2.043941e-01   1.392971e+00;
     3.247588e+00   1.428495e-01   9.089622e-01   3.242235e+00   1.447257e+00;
     1.994680e+00   7.024133e-01   1.707091e+00   1.346670e+00   6.187212e-01;
     3.018896e-01   1.598046e+00   3.561087e+00   2.080755e+00   2.515731e+00;
     5.519740e-01   8.136980e-01   3.383249e+00   8.064631e+00   1.659788e+00;
     1.440183e+00   4.683955e+00   1.051607e+00   1.580683e+00   1.726617e-01;
     2.968107e-01   3.547649e-01   2.999920e-01   1.726999e+00   2.439594e+00;
     1.850089e+00   2.646443e+00   2.242546e+00   4.753868e-01   7.356926e+00;
     3.270673e-01   6.385308e-01   2.864931e-01   6.323000e-01   1.180547e+00;
     1.338008e+00   6.493573e+00   4.445938e+00   1.548000e+00   1.993642e-01;
     3.081678e-01   8.702077e-01   2.007839e-01   1.065805e+00   2.896401e+00;
     7.295208e-01   7.446718e-01   3.171564e+00   9.743271e-01   3.945927e-01;
     1.034160e+00   1.396328e+00   9.413928e-01   1.428372e+00   9.441221e+00;
     2.780932e-01   3.141286e+00   1.207374e+00   1.347414e+00   3.548479e-01;
     1.626757e+00   4.469786e+00   2.800881e-01   2.055618e-01   4.047845e-01;
     7.975967e-01   4.420141e-01   1.993403e+00   1.876378e+00   4.411328e-01;
     3.043054e-01   6.434110e-01   8.897533e-01   1.047448e+00   1.098054e+00;
     4.241868e-01   1.080281e+00   3.610856e-01   1.436394e+00   1.035704e+00;
     1.175451e+00   7.590878e-01   1.005028e+00   4.820374e-01   3.356705e-01;
     1.298138e+00   1.276023e-01   2.482761e-01   2.041265e-01   4.533535e-01;
     4.831818e-01   2.432682e+00   1.377610e+00   8.535252e-01   2.051291e+00;
     1.642876e+00   1.264999e+01   2.862442e-01   5.535183e+00   1.535356e-01;
     1.074781e+00   1.019516e+00   9.030919e-01   7.896045e-01   1.348175e+00;
     1.212057e+00   2.921232e+00   3.786842e+00   3.814183e+00   1.772276e+00;
     7.069726e-01   8.869721e-01   8.804683e-01   7.304265e-01   1.794908e-01;
     1.483275e+00   1.147256e+00   6.270425e-01   1.938083e+00   1.447872e+00;
     1.164478e+01   2.955604e-01   1.377381e-01   7.882246e+00   3.095559e+00;
     3.485472e-01   1.449354e+00   1.111598e+00   2.891523e+00   1.390755e+00;
     5.215175e+00   1.508944e-01   3.753644e-01   2.694122e-01   5.388006e+00;
     4.698836e-01   2.678739e-01   1.439571e+00   8.330165e-01   1.326738e+01;
     9.455721e-01   1.448634e+00   4.247161e-01   4.948330e-01   3.249130e-01;
     2.151304e-01   6.301330e+00   2.861266e+00   9.420348e-01   5.888606e-01;
     2.537336e+00   8.035837e-01   5.316528e+00   8.437633e-01   1.791075e+00;
     2.131734e+00   2.403520e-01   2.433538e+00   1.654666e-01   2.070640e+00;
     1.079828e+00   4.670003e-01   3.328794e-01   3.040981e-01   3.050050e+00;
     4.298585e-01   1.931976e+00   2.386811e+00   3.493926e+00   1.714322e+00;
     7.713954e-01   5.597647e+00   2.566903e-01   1.130283e+00   3.067140e+00;
     4.546107e-01   1.641687e+00   1.031817e+00   6.845396e-01   5.437904e-01;
     1.740641e+00   2.690060e+00   8.762759e-01   1.754357e+00   6.507315e-01;
     1.035965e+00   8.870562e-01   2.448862e+00   1.234761e-01   3.526782e-01;
     2.891192e-01   2.331878e+00   5.855298e+00   8.808079e-01   5.083345e+00;
     5.625329e-01   6.245233e+00   6.278517e-01   9.823097e-01   7.431936e-02;
     2.440369e+00   2.379769e+00   3.085121e-01   1.390414e+00   1.920613e-01;
     2.746858e+00   4.489088e-01   2.073349e-01   3.491823e-01   6.065204e-01;
     4.452733e-01   6.956202e-01   1.471492e+00   1.468445e+00   1.182957e+00;
     6.585872e+00   4.843290e-01   9.488629e-01   3.494649e-01   8.135717e+00;
     9.242070e-01   2.361116e-01   1.160882e+00   2.293938e+00   9.242453e-01;
     6.870788e+00   9.894153e-01   1.460421e+00   1.217442e+00   4.626444e-01;
     2.199730e+00   6.341210e-01   1.600058e+00   1.804582e+01   8.229941e-01;
     1.852072e+00   3.406652e+00   1.982978e+00   1.010371e+01   6.475870e-01;
     1.442801e+00   4.672715e+00   2.120896e+00   4.692674e-01   6.720294e-01;
     1.758784e+00   2.809969e-01   1.035062e+00   9.299262e-01   4.123291e-01;
     4.478339e+00   8.135868e-01   1.842736e-01   1.927063e+00   4.366270e+00;
     1.371444e+00   4.551312e-01   2.522937e-01   1.944471e+00   8.243352e-01;
     2.344234e+00   3.146032e-01   7.723411e-01   4.834811e-01   6.603539e-01;
     1.261350e+00   2.545460e+00   2.460732e+00   1.142731e+00   7.929481e-01;
     1.916408e-01   8.163211e-01   1.422418e+00   6.218375e+00   2.341804e+00;
     1.022067e+00   1.822860e+00   1.935385e+00   5.407351e-01   6.817653e-01;
     3.220453e-01   1.200857e+00   1.335532e+00   8.095694e-01   9.453876e-01;
     4.247020e+00   1.070971e-01   5.340752e-01   1.719462e-01   1.064201e+00;
     2.471827e+00   1.913845e+00   8.118149e-01   7.609033e-01   1.268132e+00;
     3.341805e-01   2.203720e+00   1.366791e+00   2.985316e-01   4.235680e-01;
     1.716589e+00   2.203144e+00   5.816377e-01   1.250495e+00   5.478808e+00;
     4.460714e-01   1.119958e+00   1.411037e+00   5.819616e+00   4.216882e-01;
     2.038700e+00   8.673155e-01   1.482024e+00   1.611339e+00   3.439216e+00;
     2.641617e+00   7.030339e-01   3.055878e+00   6.494768e-01   6.927699e-01;
     4.696666e-01   6.244184e-01   1.460547e+00   2.302750e+00   2.591862e+00;
     4.186902e+00   1.969911e+00   1.984235e+00   1.797391e+00   7.109117e-01;
     7.954691e-01   7.858775e-01   2.564829e+00   1.832633e-01   3.035331e-01;
     8.242787e-01   2.103614e+00   1.965234e+00   1.131317e+00   5.423867e-01;
     7.473453e+00   2.907887e-01   1.081642e+00   5.199072e-01   1.144199e+01;
     5.430269e+00   2.781215e-01   1.431422e-01   8.434054e-01   6.945137e-01;
     1.679041e+00   2.756227e+00   5.896293e-01   5.745582e-01   5.165803e-01;
     8.545088e-01   2.952888e+00   1.058818e+00   1.412354e-01   7.180735e-01;
     3.649887e-01   1.371645e+00   3.832415e-01   4.289850e+00   4.380534e-01;
     5.177609e-01   2.880517e-01   6.799988e-01   9.954142e-01   8.658923e-01;
     7.043818e-01   2.426849e+00   7.041277e-01   4.625254e-01   1.889863e+00;
     1.434708e+00   1.176986e+00   6.696729e-01   7.266266e-01   1.765648e+00;
     1.266338e-01   3.409342e-01   4.069116e-01   4.476219e-01   3.070229e+00;
     2.728521e+00   3.341088e-01   1.442657e+00   4.934635e-01   3.731633e-01;
     1.927491e+00   1.149094e+00   1.105729e+00   1.877047e+00   1.611317e+01;
     1.734290e+00   8.776634e-01   2.334232e+00   7.387650e-01   6.738682e-01;
     3.032615e+00   1.022644e+00   1.125918e+00   8.438946e-01   3.338731e-01;
     1.980676e-01   2.151444e-01   2.136920e+00   2.876484e-01   1.927184e+00;
     1.946456e+00   8.380671e-01   5.882587e-01   1.277622e+00   2.210988e+00;
     1.953557e+00   1.314702e+00   2.546276e-01   1.362589e+00   2.605155e+00;
     4.623744e-01   2.204361e-01   1.401585e-01   8.998809e-01   1.388545e+00;
     4.124387e-01   1.518106e+00   4.989115e-01   1.548404e+00   1.766222e-01;
]';
pi = [...
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
     6.666667e-03;
];
p = [   24   36   35   4   15]';
c = [...
     5.194198e-03;
     8.893598e-02;
     1.262552e-02;
     6.928238e-02;
     1.533116e-02;
     8.070621e-02;
     2.729405e-02;
     5.535691e-02;
     9.570272e-02;
     3.178305e-02;
];
