TestGAMSOptions.cs
55 Assert.AreEqual(GAMSOptions.EAction.RestartAfterSolve, globalOpt.Action, "expect same options " + GAMSOptions.EAction.RestartAfterSolve + " set");
58 Assert.AreEqual(GAMSOptions.EAction.CompileOnly, globalOpt.Action, "expect same options " + GAMSOptions.EAction.CompileOnly + " set");
61 Assert.AreEqual(GAMSOptions.EAction.ExecuteOnly, globalOpt.Action, "expect same options " + GAMSOptions.EAction.ExecuteOnly + " set");
64 Assert.AreEqual(GAMSOptions.EAction.CompileAndExecute, globalOpt.Action, "expect same options " + GAMSOptions.EAction.CompileAndExecute + " set");
67 Assert.AreEqual(GAMSOptions.EAction.GlueCodeGeneration, globalOpt.Action, "expect same options " + GAMSOptions.EAction.GlueCodeGeneration + " set");
70 Assert.AreEqual(GAMSOptions.EAction.TraceReport, globalOpt.Action, "expect same options " + GAMSOptions.EAction.TraceReport + " set");
82 // Assert.AreEqual("Lookup R from EAction", GAMSOptions.EAction.RestartAfterSolve, GAMSOptions.EAction.lookup("R"));
83 // Assert.AreEqual("Lookup C from EAction", GAMSOptions.EAction.CompileOnly, GAMSOptions.EAction.lookup("C"));
84 // Assert.AreEqual("Lookup E from EAction", GAMSOptions.EAction.ExecuteOnly, GAMSOptions.EAction.lookup("E"));
85 // Assert.AreEqual("Lookup CE from EAction", GAMSOptions.EAction.CompileAndExecute, GAMSOptions.EAction.lookup("CE"));
86 // Assert.AreEqual("Lookup G from EAction", GAMSOptions.EAction.GlueCodeGeneration, GAMSOptions.EAction.lookup("G"));
87 // Assert.AreEqual("Lookup GT from EAction", GAMSOptions.EAction.TraceReport, GAMSOptions.EAction.lookup("GT"));
98 Assert.AreEqual(GAMSOptions.EAppendExpand.Reset, globalOpt.AppendExpand, "expect same options " + GAMSOptions.EAppendExpand.Reset + " set");
101 Assert.AreEqual(GAMSOptions.EAppendExpand.Append, globalOpt.AppendExpand, "expect same options " + GAMSOptions.EAppendExpand.Append + " set");
111 // Assert.AreEqual("Lookup Reset from EAppendExpand", GAMSOptions.EAppendExpand.Reset, GAMSOptions.EAppendExpand.lookup(0));
112 // Assert.AreEqual("Lookup Append from EAppendExpand", GAMSOptions.EAppendExpand.Append, GAMSOptions.EAppendExpand.lookup(1));
124 Assert.AreEqual(GAMSOptions.EAppendOut.Reset, globalOpt.AppendOut, "expect same options " + GAMSOptions.EAppendOut.Reset + " set");
127 Assert.AreEqual(GAMSOptions.EAppendOut.Append, globalOpt.AppendOut, "expect same options " + GAMSOptions.EAppendOut.Append + " set");
137 // Assert.AreEqual("Lookup Reset from EAppendOut", GAMSOptions.EAppendOut.Reset, GAMSOptions.EAppendOut.lookup(0));
138 // Assert.AreEqual("Lookup Append from EAppendOut", GAMSOptions.EAppendOut.Append, GAMSOptions.EAppendOut.lookup(1));
150 Assert.AreEqual(GAMSOptions.EAsyncSolLst.Off, globalOpt.AsyncSolLst, "expect same options " + GAMSOptions.EAsyncSolLst.Off + " set");
153 Assert.AreEqual(GAMSOptions.EAsyncSolLst.On, globalOpt.AsyncSolLst, "expect same options " + GAMSOptions.EAsyncSolLst.On + " set");
163 // Assert.AreEqual("Lookup Off from EAsyncSolLst", GAMSOptions.EAsyncSolLst.Off, GAMSOptions.EAsyncSolLst.lookup(0));
164 // Assert.AreEqual("Lookup On from EAsyncSolLst", GAMSOptions.EAsyncSolLst.On, GAMSOptions.EAsyncSolLst.lookup(1));
176 Assert.AreEqual(GAMSOptions.ECaptureModelInstance.Off, globalOpt.CaptureModelInstance, "expect same options " + GAMSOptions.ECaptureModelInstance.Off + " set");
179 Assert.AreEqual(GAMSOptions.ECaptureModelInstance.On, globalOpt.CaptureModelInstance, "expect same options " + GAMSOptions.ECaptureModelInstance.On + " set");
189 // Assert.AreEqual("Lookup Off from ECaptureModelInstance", GAMSOptions.ECaptureModelInstance.Off, GAMSOptions.ECaptureModelInstance.lookup(0));
190 // Assert.AreEqual("Lookup On from ECaptureModelInstance", GAMSOptions.ECaptureModelInstance.On, GAMSOptions.ECaptureModelInstance.lookup(1));
202 Assert.AreEqual(GAMSOptions.ECase.MixedCase, globalOpt.Case, "expect same options " + GAMSOptions.ECase.MixedCase + " set");
205 Assert.AreEqual(GAMSOptions.ECase.UpperCase, globalOpt.Case, "expect same options " + GAMSOptions.ECase.UpperCase + " set");
215 // Assert.AreEqual("Lookup MixedCase from ECase", GAMSOptions.ECase.MixedCase, GAMSOptions.ECase.lookup(0));
216 // Assert.AreEqual("Lookup UpperCase from ECase", GAMSOptions.ECase.UpperCase, GAMSOptions.ECase.lookup(1));
228 Assert.AreEqual(GAMSOptions.ECharSet.LimitedGAMSCharSet, globalOpt.CharSet, "expect same options " + GAMSOptions.ECharSet.LimitedGAMSCharSet + " set");
231 Assert.AreEqual(GAMSOptions.ECharSet.AnyChar, globalOpt.CharSet, "expect same options " + GAMSOptions.ECharSet.AnyChar + " set");
241 // Assert.AreEqual("Lookup LimitedGAMSCharSet from ECharSet", GAMSOptions.ECharSet.LimitedGAMSCharSet, GAMSOptions.ECharSet.lookup(0));
242 // Assert.AreEqual("Lookup AnyChar from ECharSet", GAMSOptions.ECharSet.AnyChar, GAMSOptions.ECharSet.lookup(1));
254 Assert.AreEqual(GAMSOptions.ECheckErrorLevel.Off, globalOpt.CheckErrorLevel, "expect same options " + GAMSOptions.ECheckErrorLevel.Off + " set");
257 Assert.AreEqual(GAMSOptions.ECheckErrorLevel.On, globalOpt.CheckErrorLevel, "expect same options " + GAMSOptions.ECheckErrorLevel.On + " set");
267 // Assert.AreEqual("Lookup Off from ECheckErrorLevel", GAMSOptions.ECheckErrorLevel.Off, GAMSOptions.ECheckErrorLevel.lookup(0));
268 // Assert.AreEqual("Lookup On from ECheckErrorLevel", GAMSOptions.ECheckErrorLevel.On, GAMSOptions.ECheckErrorLevel.lookup(1));
280 Assert.AreEqual(GAMSOptions.EDFormat.Slash, globalOpt.DFormat, "expect same options " + GAMSOptions.EDFormat.Slash + " set");
283 Assert.AreEqual(GAMSOptions.EDFormat.Dot, globalOpt.DFormat, "expect same options " + GAMSOptions.EDFormat.Dot + " set");
286 Assert.AreEqual(GAMSOptions.EDFormat.Dash, globalOpt.DFormat, "expect same options " + GAMSOptions.EDFormat.Dash + " set");
296 // Assert.AreEqual("Lookup Slash from EDFormat", GAMSOptions.EDFormat.Slash, GAMSOptions.EDFormat.lookup(0));
297 // Assert.AreEqual("Lookup Dot from EDFormat", GAMSOptions.EDFormat.Dot, GAMSOptions.EDFormat.lookup(1));
298 // Assert.AreEqual("Lookup Dash from EDFormat", GAMSOptions.EDFormat.Dash, GAMSOptions.EDFormat.lookup(2));
310 Assert.AreEqual(GAMSOptions.EDigit.OffDigit, globalOpt.Digit, "expect same options " + GAMSOptions.EDigit.OffDigit + " set");
313 Assert.AreEqual(GAMSOptions.EDigit.OnDigit, globalOpt.Digit, "expect same options " + GAMSOptions.EDigit.OnDigit + " set");
323 // Assert.AreEqual("Lookup off from EDigit", GAMSOptions.EDigit.OffDigit, GAMSOptions.EDigit.lookup("off"));
324 // Assert.AreEqual("Lookup on from EDigit", GAMSOptions.EDigit.OnDigit, GAMSOptions.EDigit.lookup("on"));
336 Assert.AreEqual(GAMSOptions.EDumpOpt.No, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.No + " set");
339 Assert.AreEqual(GAMSOptions.EDumpOpt.RefDataOriginalSetElementNames, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.RefDataOriginalSetElementNames + " set");
342 Assert.AreEqual(GAMSOptions.EDumpOpt.RefDataNewSetElementNames, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.RefDataNewSetElementNames + " set");
345 Assert.AreEqual(GAMSOptions.EDumpOpt.RefDataNewSetElementNamesDropSymbolText, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.RefDataNewSetElementNamesDropSymbolText + " set");
348 Assert.AreEqual(GAMSOptions.EDumpOpt.RefSymbol, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.RefSymbol + " set");
351 Assert.AreEqual(GAMSOptions.EDumpOpt.Deprecated_10, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.Deprecated_10 + " set");
354 Assert.AreEqual(GAMSOptions.EDumpOpt.InputFileWOComments, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.InputFileWOComments + " set");
357 Assert.AreEqual(GAMSOptions.EDumpOpt.Deprecated_12, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.Deprecated_12 + " set");
360 Assert.AreEqual(GAMSOptions.EDumpOpt.Deprecated_19, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.Deprecated_19 + " set");
363 Assert.AreEqual(GAMSOptions.EDumpOpt.Deprecated_20, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.Deprecated_20 + " set");
366 Assert.AreEqual(GAMSOptions.EDumpOpt.InputFileWithComments, globalOpt.DumpOpt, "expect same options " + GAMSOptions.EDumpOpt.InputFileWithComments + " set");
376 // Assert.AreEqual("Lookup No from EDumpOpt", GAMSOptions.EDumpOpt.No, GAMSOptions.EDumpOpt.lookup(0));
377 // Assert.AreEqual("Lookup RefDataOriginalSetElementNames from EDumpOpt", GAMSOptions.EDumpOpt.RefDataOriginalSetElementNames, GAMSOptions.EDumpOpt.lookup(1));
378 // Assert.AreEqual("Lookup RefDataNewSetElementNames from EDumpOpt", GAMSOptions.EDumpOpt.RefDataNewSetElementNames, GAMSOptions.EDumpOpt.lookup(2));
379 // Assert.AreEqual("Lookup RefDataNewSetElementNamesDropSymbolText from EDumpOpt", GAMSOptions.EDumpOpt.RefDataNewSetElementNamesDropSymbolText, GAMSOptions.EDumpOpt.lookup(3));
380 // Assert.AreEqual("Lookup RefSymbol from EDumpOpt", GAMSOptions.EDumpOpt.RefSymbol, GAMSOptions.EDumpOpt.lookup(4));
381 // Assert.AreEqual("Lookup Deprecated_10 from EDumpOpt", GAMSOptions.EDumpOpt.Deprecated_10, GAMSOptions.EDumpOpt.lookup(10));
382 // Assert.AreEqual("Lookup InputFileWOComments from EDumpOpt", GAMSOptions.EDumpOpt.InputFileWOComments, GAMSOptions.EDumpOpt.lookup(11));
383 // Assert.AreEqual("Lookup Deprecated_12 from EDumpOpt", GAMSOptions.EDumpOpt.Deprecated_12, GAMSOptions.EDumpOpt.lookup(12));
384 // Assert.AreEqual("Lookup Deprecated_19 from EDumpOpt", GAMSOptions.EDumpOpt.Deprecated_19, GAMSOptions.EDumpOpt.lookup(19));
385 // Assert.AreEqual("Lookup Deprecated_20 from EDumpOpt", GAMSOptions.EDumpOpt.Deprecated_20, GAMSOptions.EDumpOpt.lookup(20));
386 // Assert.AreEqual("Lookup InputFileWithComments from EDumpOpt", GAMSOptions.EDumpOpt.InputFileWithComments, GAMSOptions.EDumpOpt.lookup(21));
398 Assert.AreEqual(GAMSOptions.EDumpParms.No, globalOpt.DumpParms, "expect same options " + GAMSOptions.EDumpParms.No + " set");
401 Assert.AreEqual(GAMSOptions.EDumpParms.AcceptedParameters, globalOpt.DumpParms, "expect same options " + GAMSOptions.EDumpParms.AcceptedParameters + " set");
404 Assert.AreEqual(GAMSOptions.EDumpParms.FileOperationsAcceptedParameters, globalOpt.DumpParms, "expect same options " + GAMSOptions.EDumpParms.FileOperationsAcceptedParameters + " set");
414 // Assert.AreEqual("Lookup No from EDumpParms", GAMSOptions.EDumpParms.No, GAMSOptions.EDumpParms.lookup(0));
415 // Assert.AreEqual("Lookup AcceptedParameters from EDumpParms", GAMSOptions.EDumpParms.AcceptedParameters, GAMSOptions.EDumpParms.lookup(1));
416 // Assert.AreEqual("Lookup FileOperationsAcceptedParameters from EDumpParms", GAMSOptions.EDumpParms.FileOperationsAcceptedParameters, GAMSOptions.EDumpParms.lookup(2));
428 Assert.AreEqual(GAMSOptions.EECImplicitLoad.OffECImplicitLoad, globalOpt.ECImplicitLoad, "expect same options " + GAMSOptions.EECImplicitLoad.OffECImplicitLoad + " set");
431 Assert.AreEqual(GAMSOptions.EECImplicitLoad.OnECImplicitLoad, globalOpt.ECImplicitLoad, "expect same options " + GAMSOptions.EECImplicitLoad.OnECImplicitLoad + " set");
441 // Assert.AreEqual("Lookup off from EECImplicitLoad", GAMSOptions.EECImplicitLoad.OffECImplicitLoad, GAMSOptions.EECImplicitLoad.lookup("off"));
442 // Assert.AreEqual("Lookup on from EECImplicitLoad", GAMSOptions.EECImplicitLoad.OnECImplicitLoad, GAMSOptions.EECImplicitLoad.lookup("on"));
454 Assert.AreEqual(GAMSOptions.EEmpty.OffEmpty, globalOpt.Empty, "expect same options " + GAMSOptions.EEmpty.OffEmpty + " set");
457 Assert.AreEqual(GAMSOptions.EEmpty.OnEmpty, globalOpt.Empty, "expect same options " + GAMSOptions.EEmpty.OnEmpty + " set");
467 // Assert.AreEqual("Lookup off from EEmpty", GAMSOptions.EEmpty.OffEmpty, GAMSOptions.EEmpty.lookup("off"));
468 // Assert.AreEqual("Lookup on from EEmpty", GAMSOptions.EEmpty.OnEmpty, GAMSOptions.EEmpty.lookup("on"));
480 Assert.AreEqual(GAMSOptions.EErrMsg.EndOfCompilerListing, globalOpt.ErrMsg, "expect same options " + GAMSOptions.EErrMsg.EndOfCompilerListing + " set");
483 Assert.AreEqual(GAMSOptions.EErrMsg.FollowingError, globalOpt.ErrMsg, "expect same options " + GAMSOptions.EErrMsg.FollowingError + " set");
486 Assert.AreEqual(GAMSOptions.EErrMsg.Suppress, globalOpt.ErrMsg, "expect same options " + GAMSOptions.EErrMsg.Suppress + " set");
496 // Assert.AreEqual("Lookup EndOfCompilerListing from EErrMsg", GAMSOptions.EErrMsg.EndOfCompilerListing, GAMSOptions.EErrMsg.lookup(0));
497 // Assert.AreEqual("Lookup FollowingError from EErrMsg", GAMSOptions.EErrMsg.FollowingError, GAMSOptions.EErrMsg.lookup(1));
498 // Assert.AreEqual("Lookup Suppress from EErrMsg", GAMSOptions.EErrMsg.Suppress, GAMSOptions.EErrMsg.lookup(2));
510 Assert.AreEqual(GAMSOptions.EExecMode.EverythingAllowed, globalOpt.ExecMode, "expect same options " + GAMSOptions.EExecMode.EverythingAllowed + " set");
513 Assert.AreEqual(GAMSOptions.EExecMode.InteractiveShellsProhibited, globalOpt.ExecMode, "expect same options " + GAMSOptions.EExecMode.InteractiveShellsProhibited + " set");
516 Assert.AreEqual(GAMSOptions.EExecMode.CallAndExecuteProhibited, globalOpt.ExecMode, "expect same options " + GAMSOptions.EExecMode.CallAndExecuteProhibited + " set");
519 Assert.AreEqual(GAMSOptions.EExecMode.EchoAndPutOnlyToWorkdir, globalOpt.ExecMode, "expect same options " + GAMSOptions.EExecMode.EchoAndPutOnlyToWorkdir + " set");
522 Assert.AreEqual(GAMSOptions.EExecMode.EchoAndPutProhibited, globalOpt.ExecMode, "expect same options " + GAMSOptions.EExecMode.EchoAndPutProhibited + " set");
532 // Assert.AreEqual("Lookup EverythingAllowed from EExecMode", GAMSOptions.EExecMode.EverythingAllowed, GAMSOptions.EExecMode.lookup(0));
533 // Assert.AreEqual("Lookup InteractiveShellsProhibited from EExecMode", GAMSOptions.EExecMode.InteractiveShellsProhibited, GAMSOptions.EExecMode.lookup(1));
534 // Assert.AreEqual("Lookup CallAndExecuteProhibited from EExecMode", GAMSOptions.EExecMode.CallAndExecuteProhibited, GAMSOptions.EExecMode.lookup(2));
535 // Assert.AreEqual("Lookup EchoAndPutOnlyToWorkdir from EExecMode", GAMSOptions.EExecMode.EchoAndPutOnlyToWorkdir, GAMSOptions.EExecMode.lookup(3));
536 // Assert.AreEqual("Lookup EchoAndPutProhibited from EExecMode", GAMSOptions.EExecMode.EchoAndPutProhibited, GAMSOptions.EExecMode.lookup(4));
548 Assert.AreEqual(GAMSOptions.EFDOpt.GHAnalyticHNumericGradScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.GHAnalyticHNumericGradScale + " set");
551 Assert.AreEqual(GAMSOptions.EFDOpt.GHAnalyticHNumericFuncScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.GHAnalyticHNumericFuncScale + " set");
554 Assert.AreEqual(GAMSOptions.EFDOpt.GAnalyticFHNumericGradScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.GAnalyticFHNumericGradScale + " set");
557 Assert.AreEqual(GAMSOptions.EFDOpt.GAnalyticFHNumericFuncScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.GAnalyticFHNumericFuncScale + " set");
560 Assert.AreEqual(GAMSOptions.EFDOpt.FGHNumericScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.FGHNumericScale + " set");
563 Assert.AreEqual(GAMSOptions.EFDOpt.GHAnalyticHNumericGradNoScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.GHAnalyticHNumericGradNoScale + " set");
566 Assert.AreEqual(GAMSOptions.EFDOpt.GHAnalyticHNumericFuncNoScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.GHAnalyticHNumericFuncNoScale + " set");
569 Assert.AreEqual(GAMSOptions.EFDOpt.GAnalyticFHNumericGradNoScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.GAnalyticFHNumericGradNoScale + " set");
572 Assert.AreEqual(GAMSOptions.EFDOpt.GAnalyticFHNumericFuncNoScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.GAnalyticFHNumericFuncNoScale + " set");
575 Assert.AreEqual(GAMSOptions.EFDOpt.FGHNumericNoScale, globalOpt.FDOpt, "expect same options " + GAMSOptions.EFDOpt.FGHNumericNoScale + " set");
585 // Assert.AreEqual("Lookup GHAnalyticHNumericGradScale from EFDOpt", GAMSOptions.EFDOpt.GHAnalyticHNumericGradScale, GAMSOptions.EFDOpt.lookup(0));
586 // Assert.AreEqual("Lookup GHAnalyticHNumericFuncScale from EFDOpt", GAMSOptions.EFDOpt.GHAnalyticHNumericFuncScale, GAMSOptions.EFDOpt.lookup(1));
587 // Assert.AreEqual("Lookup GAnalyticFHNumericGradScale from EFDOpt", GAMSOptions.EFDOpt.GAnalyticFHNumericGradScale, GAMSOptions.EFDOpt.lookup(2));
588 // Assert.AreEqual("Lookup GAnalyticFHNumericFuncScale from EFDOpt", GAMSOptions.EFDOpt.GAnalyticFHNumericFuncScale, GAMSOptions.EFDOpt.lookup(3));
589 // Assert.AreEqual("Lookup FGHNumericScale from EFDOpt", GAMSOptions.EFDOpt.FGHNumericScale, GAMSOptions.EFDOpt.lookup(4));
590 // Assert.AreEqual("Lookup GHAnalyticHNumericGradNoScale from EFDOpt", GAMSOptions.EFDOpt.GHAnalyticHNumericGradNoScale, GAMSOptions.EFDOpt.lookup(10));
591 // Assert.AreEqual("Lookup GHAnalyticHNumericFuncNoScale from EFDOpt", GAMSOptions.EFDOpt.GHAnalyticHNumericFuncNoScale, GAMSOptions.EFDOpt.lookup(11));
592 // Assert.AreEqual("Lookup GAnalyticFHNumericGradNoScale from EFDOpt", GAMSOptions.EFDOpt.GAnalyticFHNumericGradNoScale, GAMSOptions.EFDOpt.lookup(12));
593 // Assert.AreEqual("Lookup GAnalyticFHNumericFuncNoScale from EFDOpt", GAMSOptions.EFDOpt.GAnalyticFHNumericFuncNoScale, GAMSOptions.EFDOpt.lookup(13));
594 // Assert.AreEqual("Lookup FGHNumericNoScale from EFDOpt", GAMSOptions.EFDOpt.FGHNumericNoScale, GAMSOptions.EFDOpt.lookup(14));
606 Assert.AreEqual(GAMSOptions.EFileCase.DefaultCase, globalOpt.FileCase, "expect same options " + GAMSOptions.EFileCase.DefaultCase + " set");
609 Assert.AreEqual(GAMSOptions.EFileCase.UpperCase, globalOpt.FileCase, "expect same options " + GAMSOptions.EFileCase.UpperCase + " set");
612 Assert.AreEqual(GAMSOptions.EFileCase.LowerCase, globalOpt.FileCase, "expect same options " + GAMSOptions.EFileCase.LowerCase + " set");
615 Assert.AreEqual(GAMSOptions.EFileCase.UpperCaseFileOnly, globalOpt.FileCase, "expect same options " + GAMSOptions.EFileCase.UpperCaseFileOnly + " set");
618 Assert.AreEqual(GAMSOptions.EFileCase.LowerCaseFileOnly, globalOpt.FileCase, "expect same options " + GAMSOptions.EFileCase.LowerCaseFileOnly + " set");
628 // Assert.AreEqual("Lookup DefaultCase from EFileCase", GAMSOptions.EFileCase.DefaultCase, GAMSOptions.EFileCase.lookup(0));
629 // Assert.AreEqual("Lookup UpperCase from EFileCase", GAMSOptions.EFileCase.UpperCase, GAMSOptions.EFileCase.lookup(1));
630 // Assert.AreEqual("Lookup LowerCase from EFileCase", GAMSOptions.EFileCase.LowerCase, GAMSOptions.EFileCase.lookup(2));
631 // Assert.AreEqual("Lookup UpperCaseFileOnly from EFileCase", GAMSOptions.EFileCase.UpperCaseFileOnly, GAMSOptions.EFileCase.lookup(3));
632 // Assert.AreEqual("Lookup LowerCaseFileOnly from EFileCase", GAMSOptions.EFileCase.LowerCaseFileOnly, GAMSOptions.EFileCase.lookup(4));
644 Assert.AreEqual(GAMSOptions.EFiltered.OffFiltered, globalOpt.Filtered, "expect same options " + GAMSOptions.EFiltered.OffFiltered + " set");
647 Assert.AreEqual(GAMSOptions.EFiltered.OnFiltered, globalOpt.Filtered, "expect same options " + GAMSOptions.EFiltered.OnFiltered + " set");
657 // Assert.AreEqual("Lookup off from EFiltered", GAMSOptions.EFiltered.OffFiltered, GAMSOptions.EFiltered.lookup("off"));
658 // Assert.AreEqual("Lookup on from EFiltered", GAMSOptions.EFiltered.OnFiltered, GAMSOptions.EFiltered.lookup("on"));
670 Assert.AreEqual(GAMSOptions.EForceWork.NoTranslation, globalOpt.ForceWork, "expect same options " + GAMSOptions.EForceWork.NoTranslation + " set");
673 Assert.AreEqual(GAMSOptions.EForceWork.TryTranslation, globalOpt.ForceWork, "expect same options " + GAMSOptions.EForceWork.TryTranslation + " set");
683 // Assert.AreEqual("Lookup NoTranslation from EForceWork", GAMSOptions.EForceWork.NoTranslation, GAMSOptions.EForceWork.lookup(0));
684 // Assert.AreEqual("Lookup TryTranslation from EForceWork", GAMSOptions.EForceWork.TryTranslation, GAMSOptions.EForceWork.lookup(1));
696 Assert.AreEqual(GAMSOptions.EFreeEmbeddedPython.Off, globalOpt.FreeEmbeddedPython, "expect same options " + GAMSOptions.EFreeEmbeddedPython.Off + " set");
699 Assert.AreEqual(GAMSOptions.EFreeEmbeddedPython.On, globalOpt.FreeEmbeddedPython, "expect same options " + GAMSOptions.EFreeEmbeddedPython.On + " set");
709 // Assert.AreEqual("Lookup Off from EFreeEmbeddedPython", GAMSOptions.EFreeEmbeddedPython.Off, GAMSOptions.EFreeEmbeddedPython.lookup(0));
710 // Assert.AreEqual("Lookup On from EFreeEmbeddedPython", GAMSOptions.EFreeEmbeddedPython.On, GAMSOptions.EFreeEmbeddedPython.lookup(1));
722 Assert.AreEqual(GAMSOptions.EgdxCompress.DoNotCompressGDX, globalOpt.gdxCompress, "expect same options " + GAMSOptions.EgdxCompress.DoNotCompressGDX + " set");
725 Assert.AreEqual(GAMSOptions.EgdxCompress.CompressGDX, globalOpt.gdxCompress, "expect same options " + GAMSOptions.EgdxCompress.CompressGDX + " set");
735 // Assert.AreEqual("Lookup DoNotCompressGDX from EgdxCompress", GAMSOptions.EgdxCompress.DoNotCompressGDX, GAMSOptions.EgdxCompress.lookup(0));
736 // Assert.AreEqual("Lookup CompressGDX from EgdxCompress", GAMSOptions.EgdxCompress.CompressGDX, GAMSOptions.EgdxCompress.lookup(1));
748 Assert.AreEqual(GAMSOptions.EgdxConvert.Version5, globalOpt.gdxConvert, "expect same options " + GAMSOptions.EgdxConvert.Version5 + " set");
751 Assert.AreEqual(GAMSOptions.EgdxConvert.Version6, globalOpt.gdxConvert, "expect same options " + GAMSOptions.EgdxConvert.Version6 + " set");
754 Assert.AreEqual(GAMSOptions.EgdxConvert.Version7, globalOpt.gdxConvert, "expect same options " + GAMSOptions.EgdxConvert.Version7 + " set");
764 // Assert.AreEqual("Lookup v5 from EgdxConvert", GAMSOptions.EgdxConvert.Version5, GAMSOptions.EgdxConvert.lookup("v5"));
765 // Assert.AreEqual("Lookup v6 from EgdxConvert", GAMSOptions.EgdxConvert.Version6, GAMSOptions.EgdxConvert.lookup("v6"));
766 // Assert.AreEqual("Lookup v7 from EgdxConvert", GAMSOptions.EgdxConvert.Version7, GAMSOptions.EgdxConvert.lookup("v7"));
778 Assert.AreEqual(GAMSOptions.EgdxUels.squeezed, globalOpt.gdxUels, "expect same options " + GAMSOptions.EgdxUels.squeezed + " set");
781 Assert.AreEqual(GAMSOptions.EgdxUels.full, globalOpt.gdxUels, "expect same options " + GAMSOptions.EgdxUels.full + " set");
791 // Assert.AreEqual("Lookup Squeezed from EgdxUels", GAMSOptions.EgdxUels.squeezed, GAMSOptions.EgdxUels.lookup("Squeezed"));
792 // Assert.AreEqual("Lookup Full from EgdxUels", GAMSOptions.EgdxUels.full, GAMSOptions.EgdxUels.lookup("Full"));
804 Assert.AreEqual(GAMSOptions.EHoldFixed.FixedVarsNotTreatedAsConstants, globalOpt.HoldFixed, "expect same options " + GAMSOptions.EHoldFixed.FixedVarsNotTreatedAsConstants + " set");
807 Assert.AreEqual(GAMSOptions.EHoldFixed.FixedVarsTreatedAsConstants, globalOpt.HoldFixed, "expect same options " + GAMSOptions.EHoldFixed.FixedVarsTreatedAsConstants + " set");
817 // Assert.AreEqual("Lookup FixedVarsNotTreatedAsConstants from EHoldFixed", GAMSOptions.EHoldFixed.FixedVarsNotTreatedAsConstants, GAMSOptions.EHoldFixed.lookup(0));
818 // Assert.AreEqual("Lookup FixedVarsTreatedAsConstants from EHoldFixed", GAMSOptions.EHoldFixed.FixedVarsTreatedAsConstants, GAMSOptions.EHoldFixed.lookup(1));
830 Assert.AreEqual(GAMSOptions.EHoldFixedAsync.Off, globalOpt.HoldFixedAsync, "expect same options " + GAMSOptions.EHoldFixedAsync.Off + " set");
833 Assert.AreEqual(GAMSOptions.EHoldFixedAsync.On, globalOpt.HoldFixedAsync, "expect same options " + GAMSOptions.EHoldFixedAsync.On + " set");
843 // Assert.AreEqual("Lookup Off from EHoldFixedAsync", GAMSOptions.EHoldFixedAsync.Off, GAMSOptions.EHoldFixedAsync.lookup(0));
844 // Assert.AreEqual("Lookup On from EHoldFixedAsync", GAMSOptions.EHoldFixedAsync.On, GAMSOptions.EHoldFixedAsync.lookup(1));
856 Assert.AreEqual(GAMSOptions.EInteractiveSolver.NoInteraction, globalOpt.InteractiveSolver, "expect same options " + GAMSOptions.EInteractiveSolver.NoInteraction + " set");
859 Assert.AreEqual(GAMSOptions.EInteractiveSolver.AllowInteraction, globalOpt.InteractiveSolver, "expect same options " + GAMSOptions.EInteractiveSolver.AllowInteraction + " set");
869 // Assert.AreEqual("Lookup NoInteraction from EInteractiveSolver", GAMSOptions.EInteractiveSolver.NoInteraction, GAMSOptions.EInteractiveSolver.lookup(0));
870 // Assert.AreEqual("Lookup AllowInteraction from EInteractiveSolver", GAMSOptions.EInteractiveSolver.AllowInteraction, GAMSOptions.EInteractiveSolver.lookup(1));
882 Assert.AreEqual(GAMSOptions.EIntVarUp.INF, globalOpt.IntVarUp, "expect same options " + GAMSOptions.EIntVarUp.INF + " set");
885 Assert.AreEqual(GAMSOptions.EIntVarUp.Pass100ToSolver, globalOpt.IntVarUp, "expect same options " + GAMSOptions.EIntVarUp.Pass100ToSolver + " set");
888 Assert.AreEqual(GAMSOptions.EIntVarUp.INFandLog, globalOpt.IntVarUp, "expect same options " + GAMSOptions.EIntVarUp.INFandLog + " set");
891 Assert.AreEqual(GAMSOptions.EIntVarUp.Pass100ToSolverAndError, globalOpt.IntVarUp, "expect same options " + GAMSOptions.EIntVarUp.Pass100ToSolverAndError + " set");
901 // Assert.AreEqual("Lookup INF from EIntVarUp", GAMSOptions.EIntVarUp.INF, GAMSOptions.EIntVarUp.lookup(0));
902 // Assert.AreEqual("Lookup Pass100ToSolver from EIntVarUp", GAMSOptions.EIntVarUp.Pass100ToSolver, GAMSOptions.EIntVarUp.lookup(1));
903 // Assert.AreEqual("Lookup INFandLog from EIntVarUp", GAMSOptions.EIntVarUp.INFandLog, GAMSOptions.EIntVarUp.lookup(2));
904 // Assert.AreEqual("Lookup Pass100ToSolverAndError from EIntVarUp", GAMSOptions.EIntVarUp.Pass100ToSolverAndError, GAMSOptions.EIntVarUp.lookup(3));
916 Assert.AreEqual(GAMSOptions.EKeep.DeleteProcDir, globalOpt.Keep, "expect same options " + GAMSOptions.EKeep.DeleteProcDir + " set");
919 Assert.AreEqual(GAMSOptions.EKeep.KeepProcDir, globalOpt.Keep, "expect same options " + GAMSOptions.EKeep.KeepProcDir + " set");
929 // Assert.AreEqual("Lookup DeleteProcDir from EKeep", GAMSOptions.EKeep.DeleteProcDir, GAMSOptions.EKeep.lookup(0));
930 // Assert.AreEqual("Lookup KeepProcDir from EKeep", GAMSOptions.EKeep.KeepProcDir, GAMSOptions.EKeep.lookup(1));
942 Assert.AreEqual(GAMSOptions.EListing.OffListing, globalOpt.Listing, "expect same options " + GAMSOptions.EListing.OffListing + " set");
945 Assert.AreEqual(GAMSOptions.EListing.OnListing, globalOpt.Listing, "expect same options " + GAMSOptions.EListing.OnListing + " set");
955 // Assert.AreEqual("Lookup off from EListing", GAMSOptions.EListing.OffListing, GAMSOptions.EListing.lookup("off"));
956 // Assert.AreEqual("Lookup on from EListing", GAMSOptions.EListing.OnListing, GAMSOptions.EListing.lookup("on"));
968 Assert.AreEqual(GAMSOptions.ELogLine.NoTracing, globalOpt.LogLine, "expect same options " + GAMSOptions.ELogLine.NoTracing + " set");
971 Assert.AreEqual(GAMSOptions.ELogLine.MinimumTracing, globalOpt.LogLine, "expect same options " + GAMSOptions.ELogLine.MinimumTracing + " set");
974 Assert.AreEqual(GAMSOptions.ELogLine.Automatic, globalOpt.LogLine, "expect same options " + GAMSOptions.ELogLine.Automatic + " set");
984 // Assert.AreEqual("Lookup NoTracing from ELogLine", GAMSOptions.ELogLine.NoTracing, GAMSOptions.ELogLine.lookup(0));
985 // Assert.AreEqual("Lookup MinimumTracing from ELogLine", GAMSOptions.ELogLine.MinimumTracing, GAMSOptions.ELogLine.lookup(1));
986 // Assert.AreEqual("Lookup Automatic from ELogLine", GAMSOptions.ELogLine.Automatic, GAMSOptions.ELogLine.lookup(2));
998 Assert.AreEqual(GAMSOptions.ELstTitleLeftAligned.Off, globalOpt.LstTitleLeftAligned, "expect same options " + GAMSOptions.ELstTitleLeftAligned.Off + " set");
1001 Assert.AreEqual(GAMSOptions.ELstTitleLeftAligned.On, globalOpt.LstTitleLeftAligned, "expect same options " + GAMSOptions.ELstTitleLeftAligned.On + " set");
1011 // Assert.AreEqual("Lookup Off from ELstTitleLeftAligned", GAMSOptions.ELstTitleLeftAligned.Off, GAMSOptions.ELstTitleLeftAligned.lookup(0));
1012 // Assert.AreEqual("Lookup On from ELstTitleLeftAligned", GAMSOptions.ELstTitleLeftAligned.On, GAMSOptions.ELstTitleLeftAligned.lookup(1));
1024 Assert.AreEqual(GAMSOptions.ENoNewVarEqu.AllowNewVarEqu, globalOpt.NoNewVarEqu, "expect same options " + GAMSOptions.ENoNewVarEqu.AllowNewVarEqu + " set");
1027 Assert.AreEqual(GAMSOptions.ENoNewVarEqu.DoNotAllowNewVarEqu, globalOpt.NoNewVarEqu, "expect same options " + GAMSOptions.ENoNewVarEqu.DoNotAllowNewVarEqu + " set");
1037 // Assert.AreEqual("Lookup AllowNewVarEqu from ENoNewVarEqu", GAMSOptions.ENoNewVarEqu.AllowNewVarEqu, GAMSOptions.ENoNewVarEqu.lookup(0));
1038 // Assert.AreEqual("Lookup DoNotAllowNewVarEqu from ENoNewVarEqu", GAMSOptions.ENoNewVarEqu.DoNotAllowNewVarEqu, GAMSOptions.ENoNewVarEqu.lookup(1));
1050 Assert.AreEqual(GAMSOptions.EOn115.NoMessages, globalOpt.On115, "expect same options " + GAMSOptions.EOn115.NoMessages + " set");
1053 Assert.AreEqual(GAMSOptions.EOn115.IssueMessages, globalOpt.On115, "expect same options " + GAMSOptions.EOn115.IssueMessages + " set");
1063 // Assert.AreEqual("Lookup NoMessages from EOn115", GAMSOptions.EOn115.NoMessages, GAMSOptions.EOn115.lookup(0));
1064 // Assert.AreEqual("Lookup IssueMessages from EOn115", GAMSOptions.EOn115.IssueMessages, GAMSOptions.EOn115.lookup(1));
1076 Assert.AreEqual(GAMSOptions.EPageContr.NoPageContrWithPadding, globalOpt.PageContr, "expect same options " + GAMSOptions.EPageContr.NoPageContrWithPadding + " set");
1079 Assert.AreEqual(GAMSOptions.EPageContr.FortranStyle, globalOpt.PageContr, "expect same options " + GAMSOptions.EPageContr.FortranStyle + " set");
1082 Assert.AreEqual(GAMSOptions.EPageContr.NoPageContrNoPadding, globalOpt.PageContr, "expect same options " + GAMSOptions.EPageContr.NoPageContrNoPadding + " set");
1085 Assert.AreEqual(GAMSOptions.EPageContr.FormfeedCharNewPage, globalOpt.PageContr, "expect same options " + GAMSOptions.EPageContr.FormfeedCharNewPage + " set");
1095 // Assert.AreEqual("Lookup NoPageContrWithPadding from EPageContr", GAMSOptions.EPageContr.NoPageContrWithPadding, GAMSOptions.EPageContr.lookup(0));
1096 // Assert.AreEqual("Lookup FortranStyle from EPageContr", GAMSOptions.EPageContr.FortranStyle, GAMSOptions.EPageContr.lookup(1));
1097 // Assert.AreEqual("Lookup NoPageContrNoPadding from EPageContr", GAMSOptions.EPageContr.NoPageContrNoPadding, GAMSOptions.EPageContr.lookup(2));
1098 // Assert.AreEqual("Lookup FormfeedCharNewPage from EPageContr", GAMSOptions.EPageContr.FormfeedCharNewPage, GAMSOptions.EPageContr.lookup(3));
1110 Assert.AreEqual(GAMSOptions.EPrefixLoadPath.Off, globalOpt.PrefixLoadPath, "expect same options " + GAMSOptions.EPrefixLoadPath.Off + " set");
1113 Assert.AreEqual(GAMSOptions.EPrefixLoadPath.On, globalOpt.PrefixLoadPath, "expect same options " + GAMSOptions.EPrefixLoadPath.On + " set");
1123 // Assert.AreEqual("Lookup Off from EPrefixLoadPath", GAMSOptions.EPrefixLoadPath.Off, GAMSOptions.EPrefixLoadPath.lookup(0));
1124 // Assert.AreEqual("Lookup On from EPrefixLoadPath", GAMSOptions.EPrefixLoadPath.On, GAMSOptions.EPrefixLoadPath.lookup(1));
1136 Assert.AreEqual(GAMSOptions.EPreviousWork.Off, globalOpt.PreviousWork, "expect same options " + GAMSOptions.EPreviousWork.Off + " set");
1139 Assert.AreEqual(GAMSOptions.EPreviousWork.On, globalOpt.PreviousWork, "expect same options " + GAMSOptions.EPreviousWork.On + " set");
1149 // Assert.AreEqual("Lookup Off from EPreviousWork", GAMSOptions.EPreviousWork.Off, GAMSOptions.EPreviousWork.lookup(0));
1150 // Assert.AreEqual("Lookup On from EPreviousWork", GAMSOptions.EPreviousWork.On, GAMSOptions.EPreviousWork.lookup(1));
1162 Assert.AreEqual(GAMSOptions.EProcTreeMemMonitor.Off, globalOpt.ProcTreeMemMonitor, "expect same options " + GAMSOptions.EProcTreeMemMonitor.Off + " set");
1165 Assert.AreEqual(GAMSOptions.EProcTreeMemMonitor.On, globalOpt.ProcTreeMemMonitor, "expect same options " + GAMSOptions.EProcTreeMemMonitor.On + " set");
1175 // Assert.AreEqual("Lookup Off from EProcTreeMemMonitor", GAMSOptions.EProcTreeMemMonitor.Off, GAMSOptions.EProcTreeMemMonitor.lookup(0));
1176 // Assert.AreEqual("Lookup On from EProcTreeMemMonitor", GAMSOptions.EProcTreeMemMonitor.On, GAMSOptions.EProcTreeMemMonitor.lookup(1));
1188 Assert.AreEqual(GAMSOptions.EPutNR.ForE, globalOpt.PutNR, "expect same options " + GAMSOptions.EPutNR.ForE + " set");
1191 Assert.AreEqual(GAMSOptions.EPutNR.Rounded, globalOpt.PutNR, "expect same options " + GAMSOptions.EPutNR.Rounded + " set");
1194 Assert.AreEqual(GAMSOptions.EPutNR.Scientific, globalOpt.PutNR, "expect same options " + GAMSOptions.EPutNR.Scientific + " set");
1197 Assert.AreEqual(GAMSOptions.EPutNR.RoundedFloatingDec, globalOpt.PutNR, "expect same options " + GAMSOptions.EPutNR.RoundedFloatingDec + " set");
1200 Assert.AreEqual(GAMSOptions.EPutNR.ForEFloatingDec, globalOpt.PutNR, "expect same options " + GAMSOptions.EPutNR.ForEFloatingDec + " set");
1210 // Assert.AreEqual("Lookup ForE from EPutNR", GAMSOptions.EPutNR.ForE, GAMSOptions.EPutNR.lookup(0));
1211 // Assert.AreEqual("Lookup Rounded from EPutNR", GAMSOptions.EPutNR.Rounded, GAMSOptions.EPutNR.lookup(1));
1212 // Assert.AreEqual("Lookup Scientific from EPutNR", GAMSOptions.EPutNR.Scientific, GAMSOptions.EPutNR.lookup(2));
1213 // Assert.AreEqual("Lookup RoundedFloatingDec from EPutNR", GAMSOptions.EPutNR.RoundedFloatingDec, GAMSOptions.EPutNR.lookup(3));
1214 // Assert.AreEqual("Lookup ForEFloatingDec from EPutNR", GAMSOptions.EPutNR.ForEFloatingDec, GAMSOptions.EPutNR.lookup(4));
1225 Assert.AreEqual(GAMSOptions.EReferenceLineNo.ActualLineNumber, globalOpt.ReferenceLineNo, "expect same options " + GAMSOptions.EReferenceLineNo.ActualLineNumber + " set");
1228 Assert.AreEqual(GAMSOptions.EReferenceLineNo.StatementStart, globalOpt.ReferenceLineNo, "expect same options " + GAMSOptions.EReferenceLineNo.StatementStart + " set");
1238 // Assert.AreEqual("Lookup actual from EReferenceLineNo", GAMSOptions.EReferenceLineNo.ActualLineNumber, GAMSOptions.EReferenceLineNo.lookup("actual"));
1239 // Assert.AreEqual("Lookup start from EReferenceLineNo", GAMSOptions.EReferenceLineNo.StatementStart, GAMSOptions.EReferenceLineNo.lookup("start"));
1251 Assert.AreEqual(GAMSOptions.ESavePoint.NoPointFile, globalOpt.SavePoint, "expect same options " + GAMSOptions.ESavePoint.NoPointFile + " set");
1254 Assert.AreEqual(GAMSOptions.ESavePoint.LastSolvePointFile, globalOpt.SavePoint, "expect same options " + GAMSOptions.ESavePoint.LastSolvePointFile + " set");
1257 Assert.AreEqual(GAMSOptions.ESavePoint.EverySolvePointFile, globalOpt.SavePoint, "expect same options " + GAMSOptions.ESavePoint.EverySolvePointFile + " set");
1260 Assert.AreEqual(GAMSOptions.ESavePoint.LastSolvePointFileScrDir, globalOpt.SavePoint, "expect same options " + GAMSOptions.ESavePoint.LastSolvePointFileScrDir + " set");
1263 Assert.AreEqual(GAMSOptions.ESavePoint.EverySolvePointFileScrDir, globalOpt.SavePoint, "expect same options " + GAMSOptions.ESavePoint.EverySolvePointFileScrDir + " set");
1273 // Assert.AreEqual("Lookup NoPointFile from ESavePoint", GAMSOptions.ESavePoint.NoPointFile, GAMSOptions.ESavePoint.lookup(0));
1274 // Assert.AreEqual("Lookup LastSolvePointFile from ESavePoint", GAMSOptions.ESavePoint.LastSolvePointFile, GAMSOptions.ESavePoint.lookup(1));
1275 // Assert.AreEqual("Lookup EverySolvePointFile from ESavePoint", GAMSOptions.ESavePoint.EverySolvePointFile, GAMSOptions.ESavePoint.lookup(2));
1276 // Assert.AreEqual("Lookup LastSolvePointFileScrDir from ESavePoint", GAMSOptions.ESavePoint.LastSolvePointFileScrDir, GAMSOptions.ESavePoint.lookup(3));
1277 // Assert.AreEqual("Lookup EverySolvePointFileScrDir from ESavePoint", GAMSOptions.ESavePoint.EverySolvePointFileScrDir, GAMSOptions.ESavePoint.lookup(4));
1289 Assert.AreEqual(GAMSOptions.EShowOSMemory.InternalAccounting, globalOpt.ShowOSMemory, "expect same options " + GAMSOptions.EShowOSMemory.InternalAccounting + " set");
1292 Assert.AreEqual(GAMSOptions.EShowOSMemory.RSS, globalOpt.ShowOSMemory, "expect same options " + GAMSOptions.EShowOSMemory.RSS + " set");
1295 Assert.AreEqual(GAMSOptions.EShowOSMemory.VSS, globalOpt.ShowOSMemory, "expect same options " + GAMSOptions.EShowOSMemory.VSS + " set");
1305 // Assert.AreEqual("Lookup InternalAccounting from EShowOSMemory", GAMSOptions.EShowOSMemory.InternalAccounting, GAMSOptions.EShowOSMemory.lookup(0));
1306 // Assert.AreEqual("Lookup RSS from EShowOSMemory", GAMSOptions.EShowOSMemory.RSS, GAMSOptions.EShowOSMemory.lookup(1));
1307 // Assert.AreEqual("Lookup VSS from EShowOSMemory", GAMSOptions.EShowOSMemory.VSS, GAMSOptions.EShowOSMemory.lookup(2));
1319 Assert.AreEqual(GAMSOptions.ESolPrint.RemoveSolLstFollowingSolves, globalOpt.SolPrint, "expect same options " + GAMSOptions.ESolPrint.RemoveSolLstFollowingSolves + " set");
1322 Assert.AreEqual(GAMSOptions.ESolPrint.IncludeSolLstFollowingSolves, globalOpt.SolPrint, "expect same options " + GAMSOptions.ESolPrint.IncludeSolLstFollowingSolves + " set");
1325 Assert.AreEqual(GAMSOptions.ESolPrint.SuppressAllSolInfo, globalOpt.SolPrint, "expect same options " + GAMSOptions.ESolPrint.SuppressAllSolInfo + " set");
1335 // Assert.AreEqual("Lookup RemoveSolLstFollowingSolves from ESolPrint", GAMSOptions.ESolPrint.RemoveSolLstFollowingSolves, GAMSOptions.ESolPrint.lookup(0));
1336 // Assert.AreEqual("Lookup IncludeSolLstFollowingSolves from ESolPrint", GAMSOptions.ESolPrint.IncludeSolLstFollowingSolves, GAMSOptions.ESolPrint.lookup(1));
1337 // Assert.AreEqual("Lookup SuppressAllSolInfo from ESolPrint", GAMSOptions.ESolPrint.SuppressAllSolInfo, GAMSOptions.ESolPrint.lookup(2));
1349 Assert.AreEqual(GAMSOptions.ESolveLink.ChainScript, globalOpt.SolveLink, "expect same options " + GAMSOptions.ESolveLink.ChainScript + " set");
1352 Assert.AreEqual(GAMSOptions.ESolveLink.CallScript, globalOpt.SolveLink, "expect same options " + GAMSOptions.ESolveLink.CallScript + " set");
1355 Assert.AreEqual(GAMSOptions.ESolveLink.CallModule, globalOpt.SolveLink, "expect same options " + GAMSOptions.ESolveLink.CallModule + " set");
1358 Assert.AreEqual(GAMSOptions.ESolveLink.AsyncGrid, globalOpt.SolveLink, "expect same options " + GAMSOptions.ESolveLink.AsyncGrid + " set");
1361 Assert.AreEqual(GAMSOptions.ESolveLink.AsyncSimulate, globalOpt.SolveLink, "expect same options " + GAMSOptions.ESolveLink.AsyncSimulate + " set");
1364 Assert.AreEqual(GAMSOptions.ESolveLink.LoadLibrary, globalOpt.SolveLink, "expect same options " + GAMSOptions.ESolveLink.LoadLibrary + " set");
1367 Assert.AreEqual(GAMSOptions.ESolveLink.LoadLibraryAsync, globalOpt.SolveLink, "expect same options " + GAMSOptions.ESolveLink.LoadLibraryAsync + " set");
1370 Assert.AreEqual(GAMSOptions.ESolveLink.LoadLibraryAsyncSimulate, globalOpt.SolveLink, "expect same options " + GAMSOptions.ESolveLink.LoadLibraryAsyncSimulate + " set");
1380 // Assert.AreEqual("Lookup ChainScript from ESolveLink", GAMSOptions.ESolveLink.ChainScript, GAMSOptions.ESolveLink.lookup(0));
1381 // Assert.AreEqual("Lookup CallScript from ESolveLink", GAMSOptions.ESolveLink.CallScript, GAMSOptions.ESolveLink.lookup(1));
1382 // Assert.AreEqual("Lookup CallModule from ESolveLink", GAMSOptions.ESolveLink.CallModule, GAMSOptions.ESolveLink.lookup(2));
1383 // Assert.AreEqual("Lookup AsyncGrid from ESolveLink", GAMSOptions.ESolveLink.AsyncGrid, GAMSOptions.ESolveLink.lookup(3));
1384 // Assert.AreEqual("Lookup AsyncSimulate from ESolveLink", GAMSOptions.ESolveLink.AsyncSimulate, GAMSOptions.ESolveLink.lookup(4));
1385 // Assert.AreEqual("Lookup LoadLibrary from ESolveLink", GAMSOptions.ESolveLink.LoadLibrary, GAMSOptions.ESolveLink.lookup(5));
1386 // Assert.AreEqual("Lookup LoadLibraryAsync from ESolveLink", GAMSOptions.ESolveLink.LoadLibraryAsync, GAMSOptions.ESolveLink.lookup(6));
1387 // Assert.AreEqual("Lookup LoadLibraryAsyncSimulate from ESolveLink", GAMSOptions.ESolveLink.LoadLibraryAsyncSimulate, GAMSOptions.ESolveLink.lookup(7));
1399 Assert.AreEqual(GAMSOptions.EStepSum.NoStepSummmary, globalOpt.StepSum, "expect same options " + GAMSOptions.EStepSum.NoStepSummmary + " set");
1402 Assert.AreEqual(GAMSOptions.EStepSum.StepSummary, globalOpt.StepSum, "expect same options " + GAMSOptions.EStepSum.StepSummary + " set");
1412 // Assert.AreEqual("Lookup NoStepSummmary from EStepSum", GAMSOptions.EStepSum.NoStepSummmary, GAMSOptions.EStepSum.lookup(0));
1413 // Assert.AreEqual("Lookup StepSummary from EStepSum", GAMSOptions.EStepSum.StepSummary, GAMSOptions.EStepSum.lookup(1));
1425 Assert.AreEqual(GAMSOptions.EstrictSingleton.FirstRecord, globalOpt.strictSingleton, "expect same options " + GAMSOptions.EstrictSingleton.FirstRecord + " set");
1428 Assert.AreEqual(GAMSOptions.EstrictSingleton.Error, globalOpt.strictSingleton, "expect same options " + GAMSOptions.EstrictSingleton.Error + " set");
1438 // Assert.AreEqual("Lookup FirstRecord from EstrictSingleton", GAMSOptions.EstrictSingleton.FirstRecord, GAMSOptions.EstrictSingleton.lookup(0));
1439 // Assert.AreEqual("Lookup Error from EstrictSingleton", GAMSOptions.EstrictSingleton.Error, GAMSOptions.EstrictSingleton.lookup(1));
1451 Assert.AreEqual(GAMSOptions.EStringChk.NoError, globalOpt.StringChk, "expect same options " + GAMSOptions.EStringChk.NoError + " set");
1454 Assert.AreEqual(GAMSOptions.EStringChk.Error, globalOpt.StringChk, "expect same options " + GAMSOptions.EStringChk.Error + " set");
1457 Assert.AreEqual(GAMSOptions.EStringChk.NoErrorRemoveSymbol, globalOpt.StringChk, "expect same options " + GAMSOptions.EStringChk.NoErrorRemoveSymbol + " set");
1467 // Assert.AreEqual("Lookup NoError from EStringChk", GAMSOptions.EStringChk.NoError, GAMSOptions.EStringChk.lookup(0));
1468 // Assert.AreEqual("Lookup Error from EStringChk", GAMSOptions.EStringChk.Error, GAMSOptions.EStringChk.lookup(1));
1469 // Assert.AreEqual("Lookup NoErrorRemoveSymbol from EStringChk", GAMSOptions.EStringChk.NoErrorRemoveSymbol, GAMSOptions.EStringChk.lookup(2));
1481 Assert.AreEqual(GAMSOptions.ESuffixDLVars.OffSuffixDLVars, globalOpt.SuffixDLVars, "expect same options " + GAMSOptions.ESuffixDLVars.OffSuffixDLVars + " set");
1484 Assert.AreEqual(GAMSOptions.ESuffixDLVars.OnSuffixDLVars, globalOpt.SuffixDLVars, "expect same options " + GAMSOptions.ESuffixDLVars.OnSuffixDLVars + " set");
1494 // Assert.AreEqual("Lookup off from ESuffixDLVars", GAMSOptions.ESuffixDLVars.OffSuffixDLVars, GAMSOptions.ESuffixDLVars.lookup("off"));
1495 // Assert.AreEqual("Lookup on from ESuffixDLVars", GAMSOptions.ESuffixDLVars.OnSuffixDLVars, GAMSOptions.ESuffixDLVars.lookup("on"));
1507 Assert.AreEqual(GAMSOptions.ESuffixAlgebraVars.OffSuffixAlgebraVars, globalOpt.SuffixAlgebraVars, "expect same options " + GAMSOptions.ESuffixAlgebraVars.OffSuffixAlgebraVars + " set");
1510 Assert.AreEqual(GAMSOptions.ESuffixAlgebraVars.OnSuffixAlgebraVars, globalOpt.SuffixAlgebraVars, "expect same options " + GAMSOptions.ESuffixAlgebraVars.OnSuffixAlgebraVars + " set");
1520 // Assert.AreEqual("Lookup off from ESuffixAlgebraVars", GAMSOptions.ESuffixAlgebraVars.OffSuffixAlgebraVars, GAMSOptions.ESuffixAlgebraVars.lookup("off"));
1521 // Assert.AreEqual("Lookup on from ESuffixAlgebraVars", GAMSOptions.ESuffixAlgebraVars.OnSuffixAlgebraVars, GAMSOptions.ESuffixAlgebraVars.lookup("on"));
1533 Assert.AreEqual(GAMSOptions.ESuppress.StandardCompilerListing, globalOpt.Suppress, "expect same options " + GAMSOptions.ESuppress.StandardCompilerListing + " set");
1536 Assert.AreEqual(GAMSOptions.ESuppress.SuppressCompilerListing, globalOpt.Suppress, "expect same options " + GAMSOptions.ESuppress.SuppressCompilerListing + " set");
1546 // Assert.AreEqual("Lookup StandardCompilerListing from ESuppress", GAMSOptions.ESuppress.StandardCompilerListing, GAMSOptions.ESuppress.lookup(0));
1547 // Assert.AreEqual("Lookup SuppressCompilerListing from ESuppress", GAMSOptions.ESuppress.SuppressCompilerListing, GAMSOptions.ESuppress.lookup(1));
1559 Assert.AreEqual(GAMSOptions.ESys10.Disable, globalOpt.Sys10, "expect same options " + GAMSOptions.ESys10.Disable + " set");
1562 Assert.AreEqual(GAMSOptions.ESys10.Enable, globalOpt.Sys10, "expect same options " + GAMSOptions.ESys10.Enable + " set");
1572 // Assert.AreEqual("Lookup Disable from ESys10", GAMSOptions.ESys10.Disable, GAMSOptions.ESys10.lookup(0));
1573 // Assert.AreEqual("Lookup Enable from ESys10", GAMSOptions.ESys10.Enable, GAMSOptions.ESys10.lookup(1));
1585 Assert.AreEqual(GAMSOptions.ESys11.AutomaticOptimization, globalOpt.Sys11, "expect same options " + GAMSOptions.ESys11.AutomaticOptimization + " set");
1588 Assert.AreEqual(GAMSOptions.ESys11.NoOptimization, globalOpt.Sys11, "expect same options " + GAMSOptions.ESys11.NoOptimization + " set");
1591 Assert.AreEqual(GAMSOptions.ESys11.AlwaysOptimize, globalOpt.Sys11, "expect same options " + GAMSOptions.ESys11.AlwaysOptimize + " set");
1601 // Assert.AreEqual("Lookup AutomaticOptimization from ESys11", GAMSOptions.ESys11.AutomaticOptimization, GAMSOptions.ESys11.lookup(0));
1602 // Assert.AreEqual("Lookup NoOptimization from ESys11", GAMSOptions.ESys11.NoOptimization, GAMSOptions.ESys11.lookup(1));
1603 // Assert.AreEqual("Lookup AlwaysOptimize from ESys11", GAMSOptions.ESys11.AlwaysOptimize, GAMSOptions.ESys11.lookup(2));
1615 Assert.AreEqual(GAMSOptions.ESysOut.SuppressAdditionalSolverOutput, globalOpt.SysOut, "expect same options " + GAMSOptions.ESysOut.SuppressAdditionalSolverOutput + " set");
1618 Assert.AreEqual(GAMSOptions.ESysOut.IncludeAdditionalSolverOutput, globalOpt.SysOut, "expect same options " + GAMSOptions.ESysOut.IncludeAdditionalSolverOutput + " set");
1628 // Assert.AreEqual("Lookup SuppressAdditionalSolverOutput from ESysOut", GAMSOptions.ESysOut.SuppressAdditionalSolverOutput, GAMSOptions.ESysOut.lookup(0));
1629 // Assert.AreEqual("Lookup IncludeAdditionalSolverOutput from ESysOut", GAMSOptions.ESysOut.IncludeAdditionalSolverOutput, GAMSOptions.ESysOut.lookup(1));
1641 Assert.AreEqual(GAMSOptions.ETFormat.Colon, globalOpt.TFormat, "expect same options " + GAMSOptions.ETFormat.Colon + " set");
1644 Assert.AreEqual(GAMSOptions.ETFormat.Dot, globalOpt.TFormat, "expect same options " + GAMSOptions.ETFormat.Dot + " set");
1654 // Assert.AreEqual("Lookup Colon from ETFormat", GAMSOptions.ETFormat.Colon, GAMSOptions.ETFormat.lookup(0));
1655 // Assert.AreEqual("Lookup Dot from ETFormat", GAMSOptions.ETFormat.Dot, GAMSOptions.ETFormat.lookup(1));
1667 Assert.AreEqual(GAMSOptions.ETraceOpt.SolverAndGAMSStepTraceWOHeaders, globalOpt.TraceOpt, "expect same options " + GAMSOptions.ETraceOpt.SolverAndGAMSStepTraceWOHeaders + " set");
1670 Assert.AreEqual(GAMSOptions.ETraceOpt.SolverAndGAMSStepTrace, globalOpt.TraceOpt, "expect same options " + GAMSOptions.ETraceOpt.SolverAndGAMSStepTrace + " set");
1673 Assert.AreEqual(GAMSOptions.ETraceOpt.SolverStepTraceOnly, globalOpt.TraceOpt, "expect same options " + GAMSOptions.ETraceOpt.SolverStepTraceOnly + " set");
1676 Assert.AreEqual(GAMSOptions.ETraceOpt.TraceFileFormatGAMSPerformanceWorld, globalOpt.TraceOpt, "expect same options " + GAMSOptions.ETraceOpt.TraceFileFormatGAMSPerformanceWorld + " set");
1679 Assert.AreEqual(GAMSOptions.ETraceOpt.TraceFileFormatSupportingNLPEC, globalOpt.TraceOpt, "expect same options " + GAMSOptions.ETraceOpt.TraceFileFormatSupportingNLPEC + " set");
1682 Assert.AreEqual(GAMSOptions.ETraceOpt.TraceFileWithAllAvailableTraceFields, globalOpt.TraceOpt, "expect same options " + GAMSOptions.ETraceOpt.TraceFileWithAllAvailableTraceFields + " set");
1692 // Assert.AreEqual("Lookup SolverAndGAMSStepTraceWOHeaders from ETraceOpt", GAMSOptions.ETraceOpt.SolverAndGAMSStepTraceWOHeaders, GAMSOptions.ETraceOpt.lookup(0));
1693 // Assert.AreEqual("Lookup SolverAndGAMSStepTrace from ETraceOpt", GAMSOptions.ETraceOpt.SolverAndGAMSStepTrace, GAMSOptions.ETraceOpt.lookup(1));
1694 // Assert.AreEqual("Lookup SolverStepTraceOnly from ETraceOpt", GAMSOptions.ETraceOpt.SolverStepTraceOnly, GAMSOptions.ETraceOpt.lookup(2));
1695 // Assert.AreEqual("Lookup TraceFileFormatGAMSPerformanceWorld from ETraceOpt", GAMSOptions.ETraceOpt.TraceFileFormatGAMSPerformanceWorld, GAMSOptions.ETraceOpt.lookup(3));
1696 // Assert.AreEqual("Lookup TraceFileFormatSupportingNLPEC from ETraceOpt", GAMSOptions.ETraceOpt.TraceFileFormatSupportingNLPEC, GAMSOptions.ETraceOpt.lookup(4));
1697 // Assert.AreEqual("Lookup TraceFileWithAllAvailableTraceFields from ETraceOpt", GAMSOptions.ETraceOpt.TraceFileWithAllAvailableTraceFields, GAMSOptions.ETraceOpt.lookup(5));
1709 Assert.AreEqual(GAMSOptions.EZeroResRep.NoWarning, globalOpt.ZeroResRep, "expect same options " + GAMSOptions.EZeroResRep.NoWarning + " set");
1712 Assert.AreEqual(GAMSOptions.EZeroResRep.IssueWarning, globalOpt.ZeroResRep, "expect same options " + GAMSOptions.EZeroResRep.IssueWarning + " set");
1722 // Assert.AreEqual("Lookup NoWarning from EZeroResRep", GAMSOptions.EZeroResRep.NoWarning, GAMSOptions.EZeroResRep.lookup(0));
1723 // Assert.AreEqual("Lookup IssueWarning from EZeroResRep", GAMSOptions.EZeroResRep.IssueWarning, GAMSOptions.EZeroResRep.lookup(1));
EgdxConvert gdxConvert
ESolveLink
ELstTitleLeftAligned
EIntVarUp IntVarUp
EDumpOpt
ETFormat TFormat
ETraceOpt TraceOpt
EInteractiveSolver
EEmpty Empty
EAsyncSolLst
EDumpOpt DumpOpt
ELogLine
EForceWork
EIntVarUp
EAction Action
ESysOut SysOut
ESysOut
EErrMsg ErrMsg
EFreeEmbeddedPython FreeEmbeddedPython
EPutNR PutNR
EPrefixLoadPath PrefixLoadPath
EStepSum
EAppendOut AppendOut
EPreviousWork
EExecMode
EFreeEmbeddedPython
EAction
EECImplicitLoad ECImplicitLoad
EHoldFixed HoldFixed
ECheckErrorLevel
EStringChk StringChk
EErrMsg
EDFormat
EZeroResRep ZeroResRep
ESavePoint
EListing
EAppendOut
ESolPrint
ENoNewVarEqu NoNewVarEqu
EListing Listing
ELstTitleLeftAligned LstTitleLeftAligned
EgdxUels gdxUels
EZeroResRep
ECaptureModelInstance
EFiltered Filtered
ESys11 Sys11
EFiltered
EgdxUels
ESavePoint SavePoint
ETraceOpt
void Dispose()
EAppendExpand
EPreviousWork PreviousWork
EPageContr PageContr
EInteractiveSolver InteractiveSolver
EProcTreeMemMonitor
EDigit Digit
ESolPrint SolPrint
EShowOSMemory
ESuffixDLVars
EDFormat DFormat
EForceWork ForceWork
ECase Case
ETFormat
ESuffixDLVars SuffixDLVars
EKeep Keep
EReferenceLineNo ReferenceLineNo
EPrefixLoadPath
ESuffixAlgebraVars
ESuppress Suppress
EgdxCompress gdxCompress
EstrictSingleton
EPageContr
EFileCase FileCase
EstrictSingleton strictSingleton
EProcTreeMemMonitor ProcTreeMemMonitor
EExecMode ExecMode
EAsyncSolLst AsyncSolLst
ESys10 Sys10
ESuffixAlgebraVars SuffixAlgebraVars
EReferenceLineNo
EFileCase
EShowOSMemory ShowOSMemory
EECImplicitLoad
ELogLine LogLine
EAppendExpand AppendExpand
EOn115 On115
ECharSet
EDumpParms
ECheckErrorLevel CheckErrorLevel
EStringChk
ENoNewVarEqu
ESuppress
EHoldFixedAsync
EgdxCompress
ESolveLink SolveLink
EStepSum StepSum
EgdxConvert
EFDOpt FDOpt
EDumpParms DumpParms
ECharSet CharSet
ECaptureModelInstance CaptureModelInstance
EHoldFixed
EHoldFixedAsync HoldFixedAsync
GAMSOptions AddOptions(GAMSOptions optFrom=null)
Definition: HouseKeeper.cs:14
static void initializeTestFrom(String filename, String subdir)
initialize class properties from fileName and prepare directory subdir
Definition: HouseKeeper.cs:114
DebugLevel
Definition: HouseKeeper.cs:12