Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  problem with IL_STD

    Posted 12/05/08 07:02 AM

    Originally posted by: SystemAdmin


    [niharika said:]

    hi
      my ILOG code works absolutely fine without reading or writing data from text files. But it does not open file for reading or creates a new file for writing data
    KINDLY REPLY
    OTHERWISE SPECIFY WHAT KINDS OF QUESTIONS ARE ANSWERED HERE
    TILL NOW NOBODY HAS BOTHERED TO PROVIDE ANY HINTS FOR MY ANSWERS TILL NOW
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: problem with IL_STD

    Posted 12/05/08 12:45 PM

    Originally posted by: SystemAdmin


    [Didier Vidal said:]

    Niharika,

    I replied to a question of you at http://forums.ilog.com/optimization/index.php?topic=729.msg2231#msg2231 but didn't get any follow-up.

    It's a little difficult to follow the status of the problem you have if you change the thread at each post.

    Concerning your question in this post, is it related to the question you asked at  http://forums.ilog.com/optimization/index.php?topic=742.msg2236#msg2236 ? In this post, it just seems that the current working directory where you execute your program doesn't contain the file you attempt to open. Also, does the behavior change if you remove any call to CPLEX, and just use, for instance:


    ifstream file;
          file.open("example.txt");
          if (!file) {
            cerr << "'ERROR: could not open file '" //<< ifilename<br />            << "' for reading" << endl;<br />        cerr << "usage:    " << argv[0] << " <file>" << endl;<br />        throw(-1);
          }


    Didier.

    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: problem with IL_STD

    Posted 12/08/08 05:29 AM

    Originally posted by: SystemAdmin


    [niharika said:]

    HI
    Thanx a lot.
    YES if i donot use CPLEX the program opens the file and reads hte data inside it.
    actually i keep on trying too find the solution on internet also, so i could solve the first 2 problems myself. If i dont use ILOG the or cplex part, the program reads/writes data, hence the ,location of the file is not a problem.
    ACtually i worked out this part also, i had written <ilcplex/ilocplex.h> instead of using the " \".
    Now i can read the file once more but instead have got a new problem
    "ILOGEXCEPTION: NOT ENOUGH MEMORY"
    can you please tell me how to solve this one.
    i still have around 60Gb of free hard disk space.

    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: problem with IL_STD

    Posted 12/09/08 12:11 PM

    Originally posted by: SystemAdmin


    [dlh said:]

    Hi Niharika,

    I am afraid that you memory (ram) is exhausted and it is not related to how much free hard disk space you have.
    It might probably be caused by some overflowing or unboundness in your code say, in the array.

    Our APAC Account Manager Jong-Shyan had sent you two e-mails to ask for contact number to clarify on the posting. and if you are interested, to propose procuring CPLEX. With CPLEX and maintenance, i am sure the support experience will be much further enhanced.

    Liuhuan
    #CPLEXOptimizers
    #DecisionOptimization