31 if(Environment.GetCommandLineArgs().Length > 1)
32ws =
신규 크레이지 슬롯작업공간(systemDirectory: Environment.GetCommandLineArgs()[1]);
41Console.WriteLine(
"기본값으로 실행:");
43Console.WriteLine(
"x("+ Rec.Key(0) +
","+ Rec.Key(1) +
"): 레벨="+ 추천
레벨 +
" 한계="+ 추천
한계);
48opt.AllModelTypes =
"익스프레스";
51Console.WriteLine(
"XPRESS로 실행:");
53Console.WriteLine(
"x("+ Rec.Key(0) +
","+ Rec.Key(1) +
"): 레벨="+ 추천
레벨 +
" 한계="+ 추천
한계);
56 사용 중(StreamWriter optFile =
신규StreamWriter(Path.Combine(ws.WorkingDirectory,
"xpress.opt")))
57 사용 중(TextWriter 로그파일 =
신규StreamWriter(Path.Combine(ws.WorkingDirectory,
"transport1_xpress.log")))
60optFile.WriteLine(
"알고리즘=장벽");
62opt.AllModelTypes =
"익스프레스";
64t1.Run(opt, 출력: logFile);
68Console.WriteLine(
"기본값이 아닌 옵션으로 XPRESS를 실행했습니다:");
70Console.WriteLine(
"x("+ Rec.Key(0) +
","+ Rec.Key(1) +
"): 레벨="+ 추천
레벨 +
" 한계="+ 추천
한계);