Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error description with strange symbols

    Posted 06/11/17 01:18 AM

    Originally posted by: wineva


    Hi everyone,

     

    I'm so confused about what the strange symbols mean in the second row.There is no syntax error in code and the examples CPLEX gives can be run successfully.
    The type of mistake indicates "OPL problem marker", attached below is my problem.

     

    Could you give me some advice?

     

    Thanks a lot!

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Error description with strange symbols

    Posted 06/12/17 08:57 AM

    What version of CPLEX do you use? It looks like there is a bug in translation or transcoding. Does it help if you switch the IDE to english?


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Error description with strange symbols

    Posted 06/12/17 09:04 PM

    Originally posted by: wineva


    Hi Daniel,

    Thank you for your reply.

    I have installed version 12.7.0 of IBM ILOG CPLEX Optimization studio community edition,in which I choose English as optional language.

    But it still shows Chinese interface.

     

    Sincerely,

    wineva


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Error description with strange symbols

    Posted 06/14/17 06:26 PM

    Originally posted by: GuangFeng


    The language chosen during installation is only effective for installation. The IDE still use system locale. For you situation, please try to:

     

    go to Run\Run Configurations... 
    choose your run configuration 
    and in the Arguments tab 
     
    key in 
     
    -DOPL_CHARSET=<charset> -DOPL_NATIVE_LOCALE=<locale> 
     
    For Simplified Chinese, <charset> should be GB18030 and <locale> should be zh-CN.
    

    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Error description with strange symbols

    Posted 06/15/17 04:13 AM

    Originally posted by: wineva


    Hi ,

     

     Thank you for your suggestion!

     I have tried to fix the problem with your method. But it still not works out and shows '' Unable to connect to the resolving''.

     

    Interestingly, I just change the name of run configuration(default value), the code can be run successfully.

    Although I find the mistake of my code,the strange symbol is not  ''decoded''.

     

    wineva 


    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: Error description with strange symbols

    Posted 06/19/17 08:16 PM

    Originally posted by: GuangFeng


    Hello wineva,

     

    Do you mind sending us the project for a closer look? You can send it to me at gfeng@us.ibm.com. Please remove confidential/sensitive information before sending us the file.

     

    Thank you.

    Guang


    #CPLEXOptimizers
    #DecisionOptimization