Package Details: coin-or-ipopt 3.13.0-1

Git Clone URL: https://aur.archlinux.org/coin-or-ipopt.git (read-only, click to copy)
Package Base: coin-or-ipopt
Description: Interior Point OPTimizer
Upstream URL: https://github.com/coin-or/Ipopt
Licenses: EPL
Groups: coin-or
Submitter: xantares
Maintainer: xantares
Last Packager: xantares
Votes: 11
Popularity: 0.31
First Submitted: 2015-01-20 10:21
Last Updated: 2019-11-28 17:55

Latest Comments

1 2 3 4 5 Next › Last »

Libbum commented on 2019-11-29 11:47

Can confirm everything is working great with this new setup!

For those that are interested, and have academic HSL licenses, I've added a package to get that to build with a slightly modified version of this package here: https://github.com/Libbum/Arch

xantares commented on 2019-11-28 12:25

@libbum It looks good enough (minor modifications in licenses/dependencies)

I'll probably rename to coin-or-coinasl / coin-or-coinmumps / coin-or-coinmetis

Libbum commented on 2019-11-28 10:42

OK, guys. I have this working on my machine using the following builds:

https://gist.github.com/Libbum/52f05187c5bef2935dd39bccd8f79ff0

I've made three PKGBUILDs for the coinasl, coinmetis and coinmumps libraries and built ipopt against them.

Testing against my own projects, Ipopt is performing as expected.

Something is odd with directory structures when enabling java in the Ipopt build, but I'm unsure if we even need that running? At least I don't.

As you can see, these are not complete packages - they need some work in getting them up to scratch in terms of dependencies and checksums etc. xantares: is this set of things something you'd be happy to manage? If not I can work on publishing them myself soon. That being said, I've never made an AUR package, so it may take me some time to get that done.

adsun commented on 2019-11-27 20:32

Reverted update to 3.13.0. Disowning this as I cannot fix the problems with upgrading to 3.13.0.

Libbum commented on 2019-11-27 15:22

Ah. Fair enough. When I have the chance (later today probably) I'll try to build a complete PKGBUILD file that incorporates the ASL and MUMPS thirdparty modules.

xantares commented on 2019-11-27 15:19

I think you have to use https://github.com/coin-or-tools/ThirdParty-Mumps because they have custom patches on top of mumps

Libbum commented on 2019-11-27 15:07

I managed to get it to build and pass tests using

--with-asl \
--with-mumps \
--without-hsl \

so long as you install mumps from the AUR package, and manually install the ThirdParty-ASL package. (A quick and dirty PKGBUILD for that is here: https://controlc.com/53c56129)

Yet to verify this all works though.

xantares commented on 2019-11-27 12:58

hello,

ipopt is not of much use without mumps sparse solver, many algorithms are disabled

it is not part of the archive anymore, but you can still get it from:

https://github.com/coin-or-tools/ThirdParty-Mumps

then I guess it is enough to call get.Mumps like before in the prepare section

xan.

Xwang commented on 2019-11-26 18:09

I have changed the line make tests with make test

and then it has stopped with the following error:

---- 8< ---- End of test program output ---- 8< ----

******** Test FAILED! ********

Output of the test program does not contain 'EXIT: Optimal Solution Found'. Testing sIpopt Example parametric_cpp... ./run_unitTests: riga 19: 452716 Errore di segmentazione (core dump creato) $@ > tmpfile 2>&1 0 ---- 8< ---- Start of test program output ---- 8< ---- Exception of type: OPTION_INVALID in file "../../../Ipopt-releases-3.13.0/src/Algorithm/IpAlgBuilder.cpp" at line 268: Exception message: Selected linear solver MA27 not available. Tried to obtain MA27 from shared library "libhsl.so", but the following error occured: libhsl.so: cannot open shared object file: No such file or directory

EXIT: Invalid option encountered. ---- 8< ---- End of test program output ---- 8< ----

******** Test FAILED! ********

Test program existed with nonzero status. Testing sIpopt Example redhess_cpp... ./run_unitTests: riga 19: 452743 Errore di segmentazione (core dump creato) $@ > tmpfile 2>&1 0 ---- 8< ---- Start of test program output ---- 8< ---- Exception of type: OPTION_INVALID in file "../../../Ipopt-releases-3.13.0/src/Algorithm/IpAlgBuilder.cpp" at line 268: Exception message: Selected linear solver MA27 not available. Tried to obtain MA27 from shared library "libhsl.so", but the following error occured: libhsl.so: cannot open shared object file: No such file or directory

EXIT: Invalid option encountered. ---- 8< ---- End of test program output ---- 8< ----

******** Test FAILED! ********

Test program existed with nonzero status. make[1]: [Makefile:780: test] Error 1 make[1]: uscita dalla directory "/home/andreak/tmp/trizen-andreak/coin-or-ipopt/src/build/test" make: [Makefile:876: unitTest] Error 2 ==> ERRORE: Si è verificato un errore in check(). L'operazione sta per essere interrotta... :: Unable to build coin-or-ipopt - makepkg exited with code: 4

Libbum commented on 2019-11-26 16:14

I think this package needs a bit more work since the upgrade to 3.13 has overhauled the structure of Ipopt.

First, the check are failing since the Makefile in the build directory now has test rather than tests in it.

Upon running those tests however, many users are going to get failures since they wont have the correct packages installed on their system. AMPL for example is no longer bundled and must be installed on its own as a prerequisite. Or we'd need to set up this build to skip certain tests because of this. Not sure which is the better way to proceed here.