Issue 124158 - Update CoinMP
Summary: Update CoinMP
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: 4.1.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 110189
  Show dependency tree
 
Reported: 2014-01-31 19:12 UTC by Ted Ralphs
Modified: 2019-10-12 17:11 UTC (History)
5 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---
pescetti: 4.1.2_release_blocker+


Attachments
Patch to update CoinMP to version 1.7.6 (64.92 KB, patch)
2014-02-01 11:31 UTC, Ariel Constenla-Haile
no flags Details | Diff
Verification: solver-example.ods (8.42 KB, application/x-vnd.oasis.opendocument.spreadsheet)
2015-10-18 22:15 UTC, Andrea Pescetti
no flags Details
Verification: solver-settings.png (42.02 KB, image/png)
2015-10-18 22:18 UTC, Andrea Pescetti
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Ted Ralphs 2014-01-31 19:12:56 UTC
We have fixed some issues with CoinMP to allow it to build with the version of clang that ships with OS X 10.9. Currently, the version of CoinMP that ships with Open Office is pegged at 1.6.0. The changes for clang are reflected in the stable version 1.7. Switching to the latest release in this series will allow Open Office to be built with CoinMP under OS X 10.9. The latest source tarball is here:

http://www.coin-or.org/download/source/CoinMP/CoinMP-1.7.6.tgz
Comment 1 Ariel Constenla-Haile 2014-02-01 04:42:46 UTC
Adapting summary: Update CoinMP to 1.7.6
Comment 2 Ariel Constenla-Haile 2014-02-01 11:31:08 UTC
Created attachment 82462 [details]
Patch to update CoinMP to version 1.7.6

Compiles fine on Linux and Win, untested on Mac
Comment 3 jsc 2014-03-24 10:57:47 UTC
I volunteer to test the patch on Mac ...
Comment 4 jsc 2014-03-24 16:06:21 UTC
coinmp built with the patch but I still get many warnings.

I continue a complete build and will test it and will provide some more information about the warnings.
Comment 5 jsc 2014-03-25 09:55:52 UTC
I looks good to me and you can integrate the update on trunk.

I tested fro example 110189 and it looked at least ok, the scripts are not working of course but that is different problem
Comment 6 jsc 2014-04-02 14:39:48 UTC
@Ariel, do you plan to integrate the patch on trunk? I can support you and can integrate it, I still have it in my local trunk env.
Comment 7 SVN Robot 2014-04-05 19:26:39 UTC
"arielch" committed SVN revision 1585171 into trunk:
i124158 - Update CoinMP to 1.7.6
Comment 8 Andrea Pescetti 2015-09-27 16:22:31 UTC
For tracking: pfg has now committed this patch to the AOO410 branch.

Based on the above discussion, this actually seems a good thing to do, but still we want to preserve information on release blockers. This will require some specific testing in the QA phase.

For reference, the merge commit is
http://svn.apache.org/r1705549
which also contains other portions that will have to be quickly validated on the dev list.
Comment 9 jsc 2015-09-28 08:19:47 UTC
This patch breaks on MacOS and we can't build currently. I have no time to investigate further. I am not sure if it is the patch that I reported some weeks ago that it breaks MacOS. But I remember that I had to revert a CoinMP patch to build on MacOS.
Comment 10 SVN Robot 2015-09-28 08:59:46 UTC
"jsc" committed SVN revision 1705622 into trunk:
#124158# rework clang patch to work on MacOS
Comment 11 SVN Robot 2015-09-28 09:13:21 UTC
"jsc" committed SVN revision 1705625 into branches/AOO410:
#124158# merge fix from trunk
Comment 12 Andrea Pescetti 2015-10-06 22:52:19 UTC
CoinMP is now updated both on trunk and on the AOO410 branch for OpenOffice 4.1.2.
Comment 13 Andrea Pescetti 2015-10-17 22:15:40 UTC
Is a standard test document available for testing that there are no regressions? Otherwise this should be verified by checking that the solver in Calc still works correctly.
Comment 14 Andrea Pescetti 2015-10-18 22:15:41 UTC
Created attachment 85047 [details]
Verification: solver-example.ods

Verified with the example we have available at
https://wiki.openoffice.org/wiki/Documentation/OOo3_User_Guides/Calc_Guide/Solver

Steps to reproduce (this is an extract from the page above):
1) Open solver-example.ods (attached)
2) Tools - Solver, set conditions as per attached screenshot solver-settings.png
3) Click OK

The solver gives the expected results (cell C2 is set to 5000), with a very small rounding error that could probably be fixed by modifying iterations or precision. Anyway, the result is the same in an old version like OpenOffice 4.0.1.
Comment 15 Andrea Pescetti 2015-10-18 22:18:34 UTC
Created attachment 85048 [details]
Verification: solver-settings.png