21 if(Environment.GetCommandLineArgs().Length > 1)
22ws =
신규 GAMS작업공간(systemDirectory: Environment.GetCommandLineArgs()[1]);
29 신규사전<string, double>()
"i1", 97 }, {
"i2", 610 }, {
"i3", 395 }, {
"i4", 211 } };
31 신규사전<string, double>()
"i1", 47 }, {
"i2", 36 }, {
"i3", 31 }, {
"i4", 14 } };
34크레이지 슬롯RawWidth.AddRecord().Value = r;
36크레이지 슬롯Widths.AddRecord(i);
37 foreach(KeyValuePair<string, double> t
ind)
38크레이지 슬롯Demand.AddRecord(t.Key).Value = t.Value;
39 foreach(KeyValuePair<string, double> t
에w)
40크레이지 슬롯Width.AddRecord(t.Key).Value = t.Value;
42크레이지 슬롯Opt.AllModelTypes =
"복합체";
46크레이지 슬롯Run(Console.Out);
49Console.WriteLine(rep.Key(0) +
", 패턴 "+ 담당자키(1) +
": "+ 담당자.
값);
54Console.WriteLine(
"GAMS의 문제: "+ e.메시지);
57 잡기(System.Exception e)
59Console.WriteLine(
"시스템 오류: "+ e.메시지);