Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

concert\include\ilconcert : warning C4512

  • 1.  concert\include\ilconcert : warning C4512

    Posted Tue July 28, 2015 11:42 AM

    Originally posted by: Eglantine


    Hello everybody,

     

     I have the following warnings, when I increase the warning level to / W4. Honestly speaking, I do not know how should I fix it. I am using cplex concert technology 12.6. Besides, I am doing c++ implementations in visual studio 2010.

     

    Thank you very much in advance.

     

    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloallocator.h(151): warning C4512: 'IloFixedSizeAllocatorI' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloallocator.h(68) : see declaration of 'IloFixedSizeAllocatorI'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloallocator.h(219): warning C4512: 'IloMemory' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloallocator.h(154) : see declaration of 'IloMemory'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloalg.h(198): warning C4512: 'IloAlgorithm::NotExtractedException' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloalg.h(186) : see declaration of 'IloAlgorithm::NotExtractedException'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(474): warning C4512: 'IloSetRangeArrayBounds' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(454) : see declaration of 'IloSetRangeArrayBounds'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(493): warning C4512: 'IloSetRangeArrayLbs' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(476) : see declaration of 'IloSetRangeArrayLbs'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(512): warning C4512: 'IloSetRangeArrayUbs' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(495) : see declaration of 'IloSetRangeArrayUbs'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(558): warning C4512: 'IloSetRangeCoefs' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(536) : see declaration of 'IloSetRangeCoefs'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(1447): warning C4512: 'IloSetObjCoefs' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(1422) : see declaration of 'IloSetObjCoefs'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(1800): warning C4512: 'IloSetForAllRangeLinearCoefs' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/ilolinear.h(1783) : see declaration of 'IloSetForAllRangeLinearCoefs'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloexpressioni.h(104): warning C4512: 'IloGenerator::MultipleDefinition' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloexpressioni.h(95) : see declaration of 'IloGenerator::MultipleDefinition'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloexpressioni.h(114): warning C4512: 'IloGenerator::OutOfScope' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloexpressioni.h(106) : see declaration of 'IloGenerator::OutOfScope'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloexpressioni.h(259): warning C4512: 'IloSetNumVarArrayBounds' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\concert\include\ilconcert/iloexpressioni.h(241) : see declaration of 'IloSetNumVarArrayBounds'
    1>C:\Program Files\IBM\ILOG\CPLEX_Studio126\cplex\include\ilcplex/ilocplexi.h(4835): warning C4512: 'IloCplexI' : assignment operator could not be generated
    1>          C:\Program Files\IBM\ILOG\CPLEX_Studio126\cplex\include\ilcplex/ilocplexi.h(3559) : see declaration of 'IloCplexI'
    

    #DecisionOptimization
    #MathematicalProgramming-General


  • 2.  Re: concert\include\ilconcert : warning C4512

    Posted Tue November 10, 2015 01:30 AM

    Sorry for the very long delay in answering this questions, somehow I completely missed this question and just stumbled upon it now.

    The warning is harmless and can be ignored. You may want to disable this particular warning in the compiler settings. We will see what we can do to avoid this warning in the future.


    #DecisionOptimization
    #MathematicalProgramming-General