mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-04 13:03:05 +02:00
80 lines
3.6 KiB
Plaintext
80 lines
3.6 KiB
Plaintext
/*********************************************
|
|
* OPL 12.5.1.0 Data
|
|
* Author: Krzysztof Rudnicki
|
|
* Creation Date: May 24, 2017 at 10:09:32 PM
|
|
*********************************************/
|
|
|
|
/***************PARAMETRY********************/
|
|
nMachType = 5; //ilosc typow maszun
|
|
nMonth = 3; //ilosc symulowanych miesiecy
|
|
nProdType = 4; //ilosc typow produktow
|
|
|
|
nHours = 384; //liczba godzin roboczych w miesiacu 2*8*24=384
|
|
nScenarios = 30; //ilosc scenariuszy w symulacji
|
|
|
|
// Ilosc maszyn poszczegolnych typow
|
|
machineCount = [4 2 3 1 1];
|
|
|
|
// Koszty wykorzystania typow maszyn (wiersze)
|
|
//w wytwarzaniu poszczegolnych typow produktow (kolumny)
|
|
prodTime = [[ 0.4 0.6 0 0]
|
|
[ 0.2 0.1 0 0.6]
|
|
[ 0.1 0 0.7 0]
|
|
[ 0.06 0.04 0 0.05]
|
|
[ 0 0.05 0.02 0]];
|
|
|
|
// Pojemnosc rynku - typ produktu(kolumny) w miesiacu(wiersz)
|
|
maxInMonth = [[ 200 0 100 200]
|
|
[ 300 100 200 200]
|
|
[ 0 300 100 200]];
|
|
|
|
// Magazyn
|
|
storageMax = [200 200 200 200]; //maksymalna pojemnosc dla typow produktow
|
|
storageCost = 1; //koszt magazynowania zl/sztuka/miesiac
|
|
storageStart = [0 0 0 0]; //poczatkowa ilosc w magazynach
|
|
|
|
/******************* METODA: WYMAGANY POZIOM ZYSKU ***********/
|
|
minAvgProfit = 20000.0; //wymagany poziom zysku
|
|
|
|
/************************* SCENARIOS *************************/
|
|
// expected values (used only in t-student.R script)
|
|
mu = [9 8 7 6];
|
|
|
|
// covariance (used only in t-student.R script)
|
|
sigma = [[ 16 -2 -1 -3]
|
|
[ -2 9 -4 -1]
|
|
[ -1 -4 4 1]
|
|
[ -3 -1 1 1]];
|
|
|
|
// scenarios (generated by t-student.R script)
|
|
sellProfit = [[10.7349277395552 7.72178696852481 6.91313555665251 5.3580692014906]
|
|
[11.4029325398093 5.35289018472828 8.44560627918346 5.94437008867837]
|
|
[5.9511305436333 9.89072813219028 8.15019579921374 5.92283032635847]
|
|
[6.98653442934503 9.43820696539249 6.08947859890014 6.28684001183198]
|
|
[8.97632928181137 7.73492022936159 7.69443003815675 6.65911599366542]
|
|
[6.3718935550723 8.80949463923562 7.79090422832384 6.81174804312265]
|
|
[8.78246371277526 9.96223625339419 5.07839427301482 6.04541265888823]
|
|
[8.61200211939238 6.9004774184148 8.38569802461679 6.01047636955988]
|
|
[8.04259291408092 11.6005401405856 5.51825529023523 5.52418355625024]
|
|
[10.2568641176451 9.42484863719592 5.61768337124079 5.44832826311492]
|
|
[6.06345343273768 6.67810135189213 8.25425855603235 7.11046580533962]
|
|
[8.74262951486885 8.49193741618487 8.26781448661321 5.63718569432722]
|
|
[8.96019482191789 7.48206038212727 8.64020735666332 6.61806454609454]
|
|
[10.7060656286305 7.74073441264031 8.70806653294011 5.56273592101066]
|
|
[9.14849596786536 5.38206186993592 8.48324089408178 6.31836607658665]
|
|
[10.9884988766065 5.05294389126629 7.81201862380442 5.89377116896792]
|
|
[9.85025400030063 9.20603928762331 6.76845266520436 5.77678827669309]
|
|
[9.76699335636152 7.83363407758539 5.01347383618885 5.84594312150737]
|
|
[8.22098260831502 7.93964476990494 8.36747212617667 6.58666346744554]
|
|
[9.64940023484707 7.34646951028725 8.15389801271092 6.71485257935324]
|
|
[9.56697193644308 7.24791547600423 5.82061898605385 6.6329880618574]
|
|
[7.64858383380397 11.8956850930214 6.57566578417732 7.52978318768004]
|
|
[10.8667504186116 5.6239431792075 6.49095275149094 5.44747350145729]
|
|
[11.5459204391574 6.5874000517338 8.91791399632966 5.70569902009294]
|
|
[9.00453124705504 6.25952067886102 8.93937357845343 6.11437998871486]
|
|
[10.4316051568988 8.89165309349428 8.00183466339121 6.22792967489147]
|
|
[11.1403947310683 8.80153331584519 6.36710780356291 5.52424084189948]
|
|
[9.5907049066395 9.30053224873728 6.5052199777433 5.64308372528693]
|
|
[6.47305423724122 7.66508680006143 7.42589600717661 6.52108273658984]
|
|
[9.76726531281191 8.22194904261638 7.1081746124431 6.13833241033153]
|
|
]; |