Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Cplex via C++

    Posted 10/23/10 02:22 PM

    Originally posted by: SystemAdmin


    Hi

    I am new in both C++ and Cplex.
    As the first stage, I wanted to run a sample provided by "http://www.tu-chemnitz.de/mathematik/discrete/manuals/cplex/doc/getstart/html/cpxGSpreface.html#148181"

    I am working with C++ 2010 and Cplex 12.2. But I have the following errors!

    1>------ Build started: Project: cplextest, Configuration: Debug Win32
    1>Build started 23/10/2010 7:15:05 PM.
    1>InitializeBuildStatus:
    1> Touching "Debug\cplextest.unsuccessfulbuild".
    1>ClCompile:
    1> All outputs are up-to-date.
    1> cplextest.cpp
    1>c:\users\mahdi\my data\etc\c++ tests\cplex test\cplextest\cplextest\cplextest.cpp(26): warning C4627: '#include "ilocplexi.h"': skipped when looking for precompiled header use
    1> Add directive to 'StdAfx.h' or rebuild precompiled header
    1>c:\users\mahdi\my data\etc\c++ tests\cplex test\cplextest\cplextest\cplextest.cpp(28): warning C4627: '#include <ilcplex/cplex.h>': skipped when looking for precompiled header use
    1> Add directive to 'StdAfx.h' or rebuild precompiled header
    1>c:\users\mahdi\my data\etc\c++ tests\cplex test\cplextest\cplextest\cplextest.cpp(29): warning C4627: '#include <iostream>': skipped when looking for precompiled header use
    1> Add directive to 'StdAfx.h' or rebuild precompiled header
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cplex via C++

    Posted 10/25/10 06:04 AM

    Originally posted by: sunilbt


    Hi do not use C++ 2010.
    Even I used to get the following errors on C++ 2010.

    Try using Visual C++ 2008 Express Edition. It should be working fine, once u have followed all steps in c_cpp.html file- which comes along with CPLEX.
    Lemme know for any other doubts !!!
    #CPLEXOptimizers
    #DecisionOptimization