Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

Warning: Reading file created by CP Optimizer version 12.7.0.0

  • 1.  Warning: Reading file created by CP Optimizer version 12.7.0.0

    Posted 07/30/18 11:26 PM

    Originally posted by: JorisK


    When solving one of the example files (color.py) which can be found here using the newest CP optimizer 12.8, I get the following warning:

    stream:8:4: Warning: Reading file created by CP Optimizer version 12.7.0.0 into CP Optimizer version 12.8.0.0.
    stream:8:4: Warning: Making reader backward compatible with version 12.7.0.0.
    

    I don't think this is intended, especially since I'n not reading a CPO model. I would still like to use 12.8. Any suggestions? 


    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: Warning: Reading file created by CP Optimizer version 12.7.0.0

    Posted 07/31/18 03:24 AM

    Originally posted by: Petr Vilím


    Hello Joris,

    you can ignore this warning. Python interface is using internally cpo file format to communicate with the engine. Cpo file (or a stream in this case) contains information about the version of CP Optimizer it conforms. Backward compatibility is guaranteed, the version in the file is used to augment the parser during the reading so that it can read old files (in case of some change in syntax). The warning simply says that the stream generated by python specifies version 12.7, this way we can use the same implementation of python interface for both versions.

    Change is already on the way, you will not see this warning in the next version.

    Cheers, Petr


    #CPOptimizer
    #DecisionOptimization