Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Compilation Error in Visual C++6.0 with CPLEX

  • 1.  Compilation Error in Visual C++6.0 with CPLEX

    Posted Thu September 04, 2008 03:37 AM

    Originally posted by: SystemAdmin


    [ramkrishk said:]

    Hello Everyone,

    When I'm trying to setup our Optimization Engine (written in VC++) using CPLEX, I'm getting the following compile time error message

    C:\ILOG\Concert20\include\ilconcert/iloexpression.h(1266) : error C2593: 'operator +' is ambiguous

    Can anyone tell me what is the actual cause of this error message and how it can be resolved.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Compilation Error in Visual C++6.0 with CPLEX

    Posted Thu September 18, 2008 11:39 PM

    Originally posted by: SystemAdmin


    [EdKlotz said:]

    Your chances of getting help on a question like this will increase if you provide
    a few lines of your program that you think are associated with this compiler error.
    By selectively commenting out parts of your program you should be able to isolate
    the line of code in your program that results in the compiler error.  Also, comparing
    problematic lines in your program to similar lines in the examples that come with your
    CPLEX distribution or other working CPLEX based programs can often help you resolve
    compiler errors like this.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Compilation Error in Visual C++6.0 with CPLEX

    Posted Fri September 26, 2008 05:59 PM

    Originally posted by: SystemAdmin


    [tinbardoo said:]

    i encountered the same problem as what you mentioned this day.
    so, have you solved the problem? would you please share your experience to me?
    thanks a lot.
    #CPLEXOptimizers
    #DecisionOptimization