Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  garbled and random characters in errors and warnings on Problems tab

    Posted 01/17/17 02:35 PM

    Originally posted by: ZJay


    Hi all,

    there are random characters in the error messages if there are some when I run my model. I didn't find a way to reset the encoding because normally that's the reason for such problems. The time zone in my computer is set to Eastern Time (US & Canada) and I am using IBM ILOG CPLEX Optimization Studio(Version: 12.6.3.0). I really appreciate if anyone can help. Thanks


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: garbled and random characters in errors and warnings on Problems tab

    Posted 01/17/17 02:45 PM

    Hi

    can you try oplide -nl en

    ?

    regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: garbled and random characters in errors and warnings on Problems tab

    Posted 01/17/17 03:30 PM

    Originally posted by: ZJay


    Hi AlexFleischer, thank you for your reply. I used this command to open the software then run the model, but it didn't work neither.


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: garbled and random characters in errors and warnings on Problems tab

    Posted 01/18/17 02:04 AM

    Hi,

    can you try

    oplide -clean

    can you attach the model that leads to that error ?

    regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: garbled and random characters in errors and warnings on Problems tab

    Posted 01/18/17 05:11 PM

    Originally posted by: ZJay


    It doesn't work neither.  I attached a model which has errors, while I don't think the garbled characters have something to do with the model itself. Because I tried different models but no different.

    Thank you and have a nice day


    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: garbled and random characters in errors and warnings on Problems tab

    Posted 01/19/17 02:09 AM

    Hi

    /*********************************************
     * OPL 12.6.1.0 Model
     * Author: zhi_xie
     * Creation Date: Oct 17, 2015 at 3:49:03 PM
     *********************************************/
    {int} s = asSet(1..5);
    range r=1.. ftoi(pow(2,card(s))-1);
    {int} s2 [k in r] = {i | i in s: ((k div (ftoi(pow(2,(ord(s,i))))) mod 2) == 1)};

    execute
    {
        writeln(s2);
        

    }

    works fine on my machine.

    By the way, could you try with CPLEX 12.7 ?

    regards


    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: garbled and random characters in errors and warnings on Problems tab

    Posted 03/29/17 11:21 PM

    Originally posted by: ZJay


    Hi Alex,

    I found the cause of this issue. It's about the setting of "Language for non-Unicode programs" in "Region and Language" (Windows 7). The problem is solved when I set the language to English. Thank you for your help.

    Best

    Jay


    #CPLEXOptimizers
    #DecisionOptimization