« Previous « Start » Next »
1 QuickGuide Overview
This guide illustrates the very basics associated with solving
problems using the TOMNET Optimization Environment. After this
session you will have solved several different problems with a
variety of solvers. The solvers you can use will depend on what you
are licensed for. The total time required for these exercises has
been estimated to about 45 minutes.
Please make a copy of a suitable case for further implementations as
needed.
The test cases were developed using Microsoft Visual C# 2005 and
are best run from a command prompt (CMD.EXE or DOS). Observe that
the DLL folder in the TOMNET installation needs to be included in
the Environment variable PATH for the software to work properly
(Start –> Control Panel –> Performance and Maintenance –>
System –> Advanced Tab –> Environment Variable –> In the
PATH variable append the location of DLL files (e.g.
d:\TOMNET\dll
)).
It is also possible to set this temporarily from the command prompt.
Possible errors as a result of missing PATH variable:
Unhandled Exception: System.DllNotFoundException: Unable to load DLL
'TOMNETSnoptSub.dll': The specified module could not be found.
(Exception from HRESULT: 0x8 007007E)
at TOMNET.SNOPT.tnInitProb(Char[] printFile, Char[] summFile, Char[] specsFile,
Int32 nObj, Int32 priLev, Int32 minPriLev, Int32 numDiff, Int32 consDiff,
Int32& fileID1, Int32& fileID2, Int32& fileID3, Int32& fileID4,
Int32& fileID5, Int32& fileID6, Int32& fileID7)
at TOMNET.SNOPT.Solve(TOMNETProblem Prob, Result& result)
at TOMNET.lpQG.Main(String[] args)
« Previous « Start » Next »