-
-
Notifications
You must be signed in to change notification settings - Fork 535
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade scipoptsuite to 5.0.1 #24662
Comments
Branch: u/moritz/scipoptsuite-5.0.0 |
Commit: |
comment:2
There is some more work to be done. First it doesn't find the patches (some of which might need to be modified, and then SoPlex is not found)
New commits:
|
This comment has been minimized.
This comment has been minimized.
Changed branch from u/moritz/scipoptsuite-5.0.0 to public/scipoptsuite |
comment:6
I changed this to using Here are the cmake-instructions for scip: http://scip.zib.de/doc/html/CMAKE.php New commits:
|
comment:7
Does compile on debian stretch with cmake. |
comment:9
Please add |
comment:10
Please add the dependency on cmake to the |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Is this ready for reviewing? |
comment:16
Replying to @mkoeppe:
yes! |
comment:18
The |
comment:19
Replying to @mkoeppe:
That would be great! |
comment:59
Replying to @kiwifb:
Sorry SAGE_LOCAL not SAGE_ROOT! |
comment:60
So
Note: with cmake, one does |
comment:61
This is bad.
because Proposed patch diff --git a/scip/cmake/Modules/FindIPOPT.cmake b/scip/cmake/Modules/FindIPOPT.cmake
index 4d65120..00f4c34 100644
--- a/scip/cmake/Modules/FindIPOPT.cmake
+++ b/scip/cmake/Modules/FindIPOPT.cmake
@@ -35,6 +35,7 @@
# (To distribute this file outside of YCM, substitute the full
# License text for the above reference.)
+SET(IPOPT_FOUND FALSE)
if(NOT WIN32)
# On non Windows systems we use PkgConfig to find IPOPT
@@ -62,6 +63,7 @@ if(NOT WIN32)
PATHS ${_PC_IPOPT_LIBRARY_DIRS})
list(APPEND IPOPT_LIBRARIES ${${_LIBRARY}_PATH})
endforeach()
+ set(IPOPT_FOUND TRUE)
else()
set(IPOPT_DEFINITIONS "")
endif()
@@ -114,6 +116,7 @@ if(NOT WIN32)
endif()
mark_as_advanced(IPOPT_SEARCH_FOR_${LIB})
endforeach()
+ set(IPOPT_FOUND TRUE)
endif()
endif()
@@ -180,6 +183,7 @@ else()
endif()
mark_as_advanced(IPOPT_SEARCH_FOR_${LIB})
endforeach()
+ set(IPOPT_FOUND TRUE)
endif()
endif()
@@ -188,16 +192,18 @@ else()
endif()
# parse the version number
-if(EXISTS ${IPOPT_INCLUDE_DIRS} )
- file(STRINGS ${IPOPT_INCLUDE_DIRS}/IpoptConfig.h CONFIGFILE)
-
- foreach(STR ${CONFIGFILE})
- if("${STR}" MATCHES "^#define IPOPT_VERSION ")
- string(REGEX REPLACE "#define IPOPT_VERSION " "" IPOPT_VERSION ${STR})
- string(REGEX REPLACE "\"" "" IPOPT_VERSION ${IPOPT_VERSION})
- endif()
- endforeach()
- # MESSAGE("found Ipopt ${IPOPT_VERSION}")
+if(IPOPT_FOUND)
+ if(EXISTS ${IPOPT_INCLUDE_DIRS} )
+ file(STRINGS ${IPOPT_INCLUDE_DIRS}/IpoptConfig.h CONFIGFILE)
+
+ foreach(STR ${CONFIGFILE})
+ if("${STR}" MATCHES "^#define IPOPT_VERSION ")
+ string(REGEX REPLACE "#define IPOPT_VERSION " "" IPOPT_VERSION ${STR})
+ string(REGEX REPLACE "\"" "" IPOPT_VERSION ${IPOPT_VERSION})
+ endif()
+ endforeach()
+ # MESSAGE("found Ipopt ${IPOPT_VERSION}")
+ endif()
endif()
mark_as_advanced(IPOPT_INCLUDE_DIRS |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:64
This now works fine for me, with all 1133 tests passed! However without IPOPT (I don't have it installed) |
comment:65
If I have IPOPT installed if fails like this:
And this is also true with the patch suggested by fbissey (thanks for your efforts, by the way!) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:67
I did some test runs with ipopt installed or not after patching On a further note while it compiled all right with my install of IPOPT 3.12.9, numerous tests failed then. I am guessing my version was too high again. Lastly the spkg-install on this branch is a bit messy we should standardise all the instances of SAGE_LOCAL in the cmake call to |
comment:68
Here is a suggestion: We simply pass |
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
|
comment:70
Replying to @mo271:
I am fine with that. Your install in |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:72
I accidentally pushed changes from #21003 in between. Now it is back on the correct branch |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:74
Replying to @kiwifb:
Ok, great! Thats what I did! New commits:
|
Changed reviewer from Matthias Koeppe, Moritz Firsching to Matthias Koeppe, Moritz Firsching, François Bissey |
comment:76
I believe it is good to go. |
Changed branch from public/scipoptsuite to |
… rename to scip scipoptsuite 8.0.2 was re-released as open source (Apache 2.0) on 2022-11-04 - https://www.scipopt.org/ https://www.scipopt.org/doc/html/md_INSTALL.php It includes its own fork of bliss - see discussion in mkoeppe/bliss#3 Previous update in sagemath#24662. URL: https://trac.sagemath.org/31329 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Dima Pasechnik
Before working on #21003, it might be a good idea to get the current version of the scipoptsuite running. This ticket should be very similar to #22557.
Upstream archive: http://scip.zib.de/download.php?fname=scipoptsuite-5.0.1.tgz (DO NOT put on sage servers -- we cannot redistribute this archive)
CC: @mkoeppe @jplab @vinklein
Component: packages: experimental
Keywords: IMA-PolyGeom
Author: Moritz Firsching, Matthias Koeppe
Branch/Commit:
2f08be1
Reviewer: Matthias Koeppe, Moritz Firsching, François Bissey
Issue created by migration from https://trac.sagemath.org/ticket/24662
The text was updated successfully, but these errors were encountered: