Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  'Test.vshost.exe: Managed' has exited with code 0 (0x0)

    Posted 11/27/09 08:45 AM

    Originally posted by: Yanni


    I am using Visual Studio 2008 (since it is compatible with CPLEX 11.0). I have successfully compiled a project with a .cs file, but I am getting the following error

    The thread 0x6b8 has exited with code 0 (0x0).
    The thread 0xbdc has exited with code 0 (0x0).
    The program '968 Test.vshost.exe: Managed' has exited with code 0 (0x0).

    The model compiles successfully, but the command window closes instantly. Therefore it never stops to get any input from keyboard (args[0]). I also tried the same in .NET 2003, but still get the same error (usually with a different number in brackets).

    Any idea what I am doing wrong?

    thanks
    Yannis
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: 'Test.vshost.exe: Managed' has exited with code 0 (0x0)

    Posted 11/30/09 12:51 PM

    Originally posted by: SystemAdmin


    I guess you have written just a simple example program that has nothing to do with CPLEX, right?

    What you could try is to invoke your .exe file from within a command shell such that the window does not close immediately. Just go to "Start -> Run ..." (I think this is how it is called in the start menu of Windows) and enter "cmd" (I think that is the name of the command shell; I am using Linux and cannot verify right now). Then use the "cd" command to go into the directory where your .exe file resides in and finally enter the name of your .exe file to launch it.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: 'Test.vshost.exe: Managed' has exited with code 0 (0x0)

    Posted 11/30/09 07:41 PM

    Originally posted by: Yanni


    I have been coding for several years, but never in Virtual C++ in Microsfot VS... The example that I was using is based on the CPLEX examples. However I've written a simple script and the error still occurs, so possibly it is not something related to the CPLEX engine...
    #CPLEXOptimizers
    #DecisionOptimization