[Osi] Fwd: [Symphony] OsiCuts::const_iterator MSVC14 problem

Ted Ralphs tkr2 at lehigh.edu
Tue Aug 18 17:29:02 EDT 2015


Hi all,

This was sent to the SYMPHONY mailing list, but it really belongs here. It
looks like it would be easy to add operator-- to fix this issue. Let me
know if you foresee any trouble with this.

Cheers,

Ted

---------- Forwarded message ----------
From: Konvicka Filip <Filip.Konvicka at logis.cz>
Date: Mon, Aug 17, 2015 at 9:24 AM
Subject: [Symphony] OsiCuts::const_iterator MSVC14 problem
To: "symphony at list.coin-or.org" <symphony at list.coin-or.org>


Hi,



I tried compiling the latest release (5.6.11) with MSVC 2015 and there is a
problem with OsiCuts::const_iterator (OsiCuts.hpp).  The iterator is
declared as “bi-directional”, but provides no operator--, and that causes
compile errors.  Changing to the following seems to fix the problem
(another way might be adding the operator-- of course).



         typedef std::forward_iterator_tag iterator_category;



Cheers,

Filip



_______________________________________________
Symphony mailing list
Symphony at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/symphony




-- 
Dr. Ted Ralphs
Professor, Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/osi/attachments/20150818/ca60e904/attachment.html>


More information about the Osi mailing list