From coin-trac at coin-or.org Fri May 16 17:03:56 2008 From: coin-trac at coin-or.org (Ipopt) Date: Fri, 16 May 2008 21:03:56 -0000 Subject: [Ipopt-tickets] [Ipopt] #75: Ipopt fails unit test in Linux with no ThirdParty source Message-ID: <048.45b07529b0b6db31dddb6f24b7a98287@coin-or.org> #75: Ipopt fails unit test in Linux with no ThirdParty source ------------------------------+--------------------------------------------- Reporter: tkr | Owner: ipopt-team Type: defect | Status: new Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Keywords: | ------------------------------+--------------------------------------------- If I download Ipopt on my Linux and configure with no arguments and without downloading any third party source code, it builds fine, but the unit test fails as follows: ---- 8< ---- Start of test program output ---- 8< ---- ==> Warning: Treating 1 binary and 1 integer variables as continuous. Exception of type: OPTION_INVALID in file "../../../../Ipopt/src/Algorithm/IpAlgBuilder.cpp" at line 258: 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 It seems that somehow, the code is building because it finds the shared libraries it needs already installed, but because there is no third party source installed, it also somehow is convinced that it needs to build libhsl and use the MA27 library? I didn't look into it very deeply, since it works fine once all (open source) third party sources have been downloaded. By the way, you do not have an option for selecting version 3.4 below. -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Fri May 16 17:11:16 2008 From: coin-trac at coin-or.org (Ipopt) Date: Fri, 16 May 2008 21:11:16 -0000 Subject: [Ipopt-tickets] [Ipopt] #76: Ipopt fails unit test when versions of gcc and gfortran don't match Message-ID: <048.058fe894367c077a457ed67938d56ee7@coin-or.org> #76: Ipopt fails unit test when versions of gcc and gfortran don't match ------------------------------+--------------------------------------------- Reporter: tkr | Owner: ipopt-team Type: defect | Status: new Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Keywords: | ------------------------------+--------------------------------------------- I built Ipopt on a Linux box where the version of gfortran and gcc did not match: shark: ~> gfortran --version GNU Fortran (Debian 4.3-20080202-1) 4.3.0 20080202 (experimental) [trunk revision 132072] shark: ~> gcc --version gcc (GCC) 4.2.3 (Debian 4.2.3-1) You would think this could not happen when using package management under Linux, but in fact, the dependencies are such that it can happen even if you are using something like apt to do automatic updates. In this case, the Ipopt unit test will fail because when trying to link C++ code to Fortran code, configure adds "-lstdc++" to the link line, but the version of the stdc++ library associated with gfortran is not present in this case, so you end up with the error cd test; make test make[1]: Entering directory `/home/ted/CoinAll-1.1/build/Ipopt/test' /bin/sh ../../libtool --tag=F77 --mode=link gfortran -I`echo ../../../Ipopt/test/../src/Interfaces` -O3 -fomit-frame-pointer -pipe -o hs071_f hs071_f.o ../src/Interfaces/libipopt.la -lblas -lm -ldl -lstdc++ -lm -ldl gfortran -I../../../Ipopt/test/../src/Interfaces -O3 -fomit-frame-pointer -pipe -o .libs/hs071_f hs071_f.o ../src/Interfaces/.libs/libipopt.so -lblas -lstdc++ -lm -ldl -Wl,--rpath -Wl,/home/ted/CoinAll-1.1/build/lib /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status make[1]: *** [hs071_f] Error 1 make[1]: Leaving directory `/home/ted/CoinAll-1.1/build/Ipopt/test' make: *** [unitTest] Error 2 -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Mon May 19 13:39:41 2008 From: coin-trac at coin-or.org (Ipopt) Date: Mon, 19 May 2008 17:39:41 -0000 Subject: [Ipopt-tickets] [Ipopt] #75: Ipopt fails unit test in Linux with no ThirdParty source In-Reply-To: <048.45b07529b0b6db31dddb6f24b7a98287@coin-or.org> References: <048.45b07529b0b6db31dddb6f24b7a98287@coin-or.org> Message-ID: <057.0f5cb2c4d7f8b2f27f03959134ded677@coin-or.org> #75: Ipopt fails unit test in Linux with no ThirdParty source --------------------------------+------------------------------------------- Reporter: tkr | Owner: andreasw Type: defect | Status: assigned Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * owner: ipopt-team => andreasw * status: new => assigned Comment: Hi Ted: This is all as intended. It is a new feature of the new Ipopt version to be able to compile the code without linear solver, and then have them loaded at runtime. The idea is that we can now distribute ONE binary with, for example, the MUMPS linear solver, but later users can run it with HSL if they want to as well. See also http://www.coin-or.org/Ipopt/documentation/node20.html I don't want to put a hard-stop into the configure script if no linear solver is available at Ipopt compilation time. Would things have been clearer for you if there had been a warning message? Thanks Andreas -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Mon May 19 13:41:08 2008 From: coin-trac at coin-or.org (Ipopt) Date: Mon, 19 May 2008 17:41:08 -0000 Subject: [Ipopt-tickets] [Ipopt] #75: Ipopt fails unit test in Linux with no ThirdParty source In-Reply-To: <048.45b07529b0b6db31dddb6f24b7a98287@coin-or.org> References: <048.45b07529b0b6db31dddb6f24b7a98287@coin-or.org> Message-ID: <057.64a5ba79be6ad39cab06e0edd4a2029f@coin-or.org> #75: Ipopt fails unit test in Linux with no ThirdParty source --------------------------------+------------------------------------------- Reporter: tkr | Owner: andreasw Type: defect | Status: assigned Priority: normal | Component: Ipopt Version: 3.4 (C++ Version) | Severity: normal Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * version: 3.3 (C++ Version) => 3.4 (C++ Version) -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Mon May 19 13:43:22 2008 From: coin-trac at coin-or.org (Ipopt) Date: Mon, 19 May 2008 17:43:22 -0000 Subject: [Ipopt-tickets] [Ipopt] #76: Ipopt fails unit test when versions of gcc and gfortran don't match In-Reply-To: <048.058fe894367c077a457ed67938d56ee7@coin-or.org> References: <048.058fe894367c077a457ed67938d56ee7@coin-or.org> Message-ID: <057.a6a1fb87f9a8a31b3ca5faa8f723f403@coin-or.org> #76: Ipopt fails unit test when versions of gcc and gfortran don't match --------------------------------+------------------------------------------- Reporter: tkr | Owner: andreasw Type: clarification | Status: assigned Priority: normal | Component: Ipopt Version: 3.4 (C++ Version) | Severity: normal Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * owner: ipopt-team => andreasw * status: new => assigned * version: 3.3 (C++ Version) => 3.4 (C++ Version) * type: defect => clarification Comment: Hi Ted, I'm not sure what to do with that ticket. If a user doesn't have compatible compilers, it is not surprising that combining code from incompatible compilers fails. I don't think this is an Ipopt issue, is it? Thanks Andreas -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Wed May 21 20:12:04 2008 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 22 May 2008 00:12:04 -0000 Subject: [Ipopt-tickets] [Ipopt] #74: linker errors with Ipopt.lib In-Reply-To: <054.17a70914293b4fa7fd7962efdd1f5b20@coin-or.org> References: <054.17a70914293b4fa7fd7962efdd1f5b20@coin-or.org> Message-ID: <063.79e78d1ec831aeb79c98452448f0bd5f@coin-or.org> #74: linker errors with Ipopt.lib --------------------------------+------------------------------------------- Reporter: hgassmann | Owner: andreasw Type: clarification | Status: assigned Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Resolution: | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * owner: ipopt-team => andreasw * status: new => assigned * type: defect => clarification Comment: Hi Gus, Some of those errors seem to come from using different runtime libraries (debug, threaded blablabla) which I don't know about, and it will probably be important to use the same options for OS and Ipopt. But since I'm not using MSVC a lot, I can't help. The only possibly useful thing I can say is that the symbols _e_wsfe and so on are in the libf2c.lib that you should have compiled at some point (see step 2 in the Ipopt/MSVisualStudio/v8/README.TXT file). Regards, Andreas -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Wed May 21 20:13:15 2008 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 22 May 2008 00:13:15 -0000 Subject: [Ipopt-tickets] [Ipopt] #72: Memory leak detected by Visual Studio 2008 In-Reply-To: <052.3451b2f4c78b8a0bbc15ac7066e389f0@coin-or.org> References: <052.3451b2f4c78b8a0bbc15ac7066e389f0@coin-or.org> Message-ID: <061.03c7231f19039afe6928afa0eb5d5f4e@coin-or.org> #72: Memory leak detected by Visual Studio 2008 --------------------------------+------------------------------------------- Reporter: hmartin | Owner: andreasw Type: clarification | Status: closed Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Resolution: worksforme | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * status: assigned => closed * resolution: => worksforme -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Wed May 21 20:14:23 2008 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 22 May 2008 00:14:23 -0000 Subject: [Ipopt-tickets] [Ipopt] #73: --dos-compile Cygwin In-Reply-To: <052.bfd5707ddab9dd7a8457b03ab9ef75ad@coin-or.org> References: <052.bfd5707ddab9dd7a8457b03ab9ef75ad@coin-or.org> Message-ID: <061.7f89ab74e5463277561d95b73b6ea2b9@coin-or.org> #73: --dos-compile Cygwin --------------------------------+------------------------------------------- Reporter: vzavala | Owner: andreasw Type: defect | Status: closed Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Resolution: worksforme | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * status: assigned => closed * resolution: => worksforme Comment: No further communication. I assume this is now working, and it still works fine for me. -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Wed May 21 20:15:04 2008 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 22 May 2008 00:15:04 -0000 Subject: [Ipopt-tickets] [Ipopt] #67: Missing source files in MSVS solution file (stable version) In-Reply-To: <054.9be4ac8b44a98bc60b0d45dd6f4d987c@coin-or.org> References: <054.9be4ac8b44a98bc60b0d45dd6f4d987c@coin-or.org> Message-ID: <063.99922624ff3330f76bed5a1074c7f1b4@coin-or.org> #67: Missing source files in MSVS solution file (stable version) --------------------------------+------------------------------------------- Reporter: hgassmann | Owner: andreasw Type: defect | Status: closed Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Resolution: fixed | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * status: reopened => closed * resolution: => fixed -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Wed May 21 20:15:59 2008 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 22 May 2008 00:15:59 -0000 Subject: [Ipopt-tickets] [Ipopt] #58: MA57 & MeTiS for IPOPT In-Reply-To: <050.866683d1a13836da5328b2a7bd7453b0@coin-or.org> References: <050.866683d1a13836da5328b2a7bd7453b0@coin-or.org> Message-ID: <059.a7bc5a20152565ed7d13e3ac471e156f@coin-or.org> #58: MA57 & MeTiS for IPOPT --------------------------------+------------------------------------------- Reporter: pmota | Owner: andreasw Type: clarification | Status: closed Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Resolution: worksforme | Keywords: MA57 MeTiS --------------------------------+------------------------------------------- Changes (by andreasw): * status: assigned => closed * resolution: => worksforme Comment: No further communication. -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Wed May 21 20:17:02 2008 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 22 May 2008 00:17:02 -0000 Subject: [Ipopt-tickets] [Ipopt] #45: Suggestion In-Reply-To: <053.e565d392ad1512d4baf10d80842b5490@coin-or.org> References: <053.e565d392ad1512d4baf10d80842b5490@coin-or.org> Message-ID: <062.84f6e6234278deee5a8bd6a7fe97447b@coin-or.org> #45: Suggestion --------------------------------+------------------------------------------- Reporter: kapurash | Owner: andreasw Type: enhancement | Status: closed Priority: normal | Component: Ipopt Version: 3.3 (C++ Version) | Severity: normal Resolution: wontfix | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * status: assigned => closed * resolution: => wontfix -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Thu May 29 09:09:28 2008 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 29 May 2008 13:09:28 -0000 Subject: [Ipopt-tickets] [Ipopt] #77: allow strings with white spaces as values of string options Message-ID: <051.db26c7646e4c267bd51032e9463f009d@coin-or.org> #77: allow strings with white spaces as values of string options ------------------------------+--------------------------------------------- Reporter: stefan | Owner: ipopt-team Type: enhancement | Status: new Priority: normal | Component: Ipopt Version: 3.4 (C++ Version) | Severity: normal Keywords: | ------------------------------+--------------------------------------------- Hi, for the Ipopt options lists, I would like to use a string option that can take an arbitrary value as argument that is also allowed to contain whitespaces. Currently, {{{OptionsList::readnexttoken}}} does not allow this. Tokens are here separated by spaces and there seem to be no way to escape a space. A way to improve this would be to allow arbitrary strings that are enclosed by quotes, e.g., {{{"my nice string option value"}}}. A possible way to adapt {{{OptionsList::readnexttoken}}} for this is {{{ bool OptionsList::readnexttoken(std::istream& is, std::string& token) { token.erase(); int c = is.get(); // First get rid of all comments and white spaces while (!is.eof() && (isspace(c) || c=='#') ) { if (c=='#') { is.ignore(10000000, '\n'); } c=is.get(); } bool inside_quotes = (c=='"'); if (inside_quotes) { if (is.eof()) return false; // eof after quotation symbol c=is.get(); } // Now read the token while (!is.eof() && (inside_quotes || !isspace(c))) { token += c; c = is.get(); if (inside_quotes && (c=='"')) { inside_quotes = false; if (!is.eof()) c = is.get(); } } return (!is.eof()); } }}} Best, Stefan -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Thu May 29 19:01:02 2008 From: coin-trac at coin-or.org (Ipopt) Date: Thu, 29 May 2008 23:01:02 -0000 Subject: [Ipopt-tickets] [Ipopt] #77: allow strings with white spaces as values of string options In-Reply-To: <051.db26c7646e4c267bd51032e9463f009d@coin-or.org> References: <051.db26c7646e4c267bd51032e9463f009d@coin-or.org> Message-ID: <060.c4140a69700eb1469d9a204877d70cd5@coin-or.org> #77: allow strings with white spaces as values of string options --------------------------------+------------------------------------------- Reporter: stefan | Owner: ipopt-team Type: enhancement | Status: closed Priority: normal | Component: Ipopt Version: 3.4 (C++ Version) | Severity: normal Resolution: fixed | Keywords: --------------------------------+------------------------------------------- Changes (by andreasw): * status: new => closed * resolution: => fixed Comment: I really like your tickets! They come with the solution!!! :-) Nice idea, and nice coding. I committed your bugfix to Ipopt/trunk and it will soon go into stable and a new release. It is in changeset 1240. -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Thu May 29 21:09:02 2008 From: coin-trac at coin-or.org (Ipopt) Date: Fri, 30 May 2008 01:09:02 -0000 Subject: [Ipopt-tickets] [Ipopt] #78: I cannot install the IPOPT correctly Message-ID: <053.6b99ddcd2942dae99819cf7a40427856@coin-or.org> #78: I cannot install the IPOPT correctly ------------------------------+--------------------------------------------- Reporter: mayudong | Owner: ipopt-team Type: defect | Status: new Priority: normal | Component: Ipopt Version: 3.4 (C++ Version) | Severity: normal Keywords: installing IPOPT | ------------------------------+--------------------------------------------- It seems that I can configure it correctly, but when I tried to run make, error shows up like all recursive Error1. and the configure.out and make.out are attached -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Thu May 29 21:24:41 2008 From: coin-trac at coin-or.org (Ipopt) Date: Fri, 30 May 2008 01:24:41 -0000 Subject: [Ipopt-tickets] [Ipopt] #78: I cannot install the IPOPT correctly In-Reply-To: <053.6b99ddcd2942dae99819cf7a40427856@coin-or.org> References: <053.6b99ddcd2942dae99819cf7a40427856@coin-or.org> Message-ID: <062.75064fb2acd7c0d13fd4393cfcbfd013@coin-or.org> #78: I cannot install the IPOPT correctly --------------------------------+------------------------------------------- Reporter: mayudong | Owner: andreasw Type: defect | Status: assigned Priority: normal | Component: Ipopt Version: 3.4 (C++ Version) | Severity: normal Resolution: | Keywords: installing IPOPT --------------------------------+------------------------------------------- Changes (by andreasw): * owner: ipopt-team => andreasw * status: new => assigned Comment: I had a look at the attached make.out file. I cannot find the error. The output ends with {{{ creating libamplinterface.la (cd .libs && rm -f libamplinterface.la && ln -s ../libamplinterface.la libamplinterface.la) if g++ -DHAVE_CONFIG_H -I. -I`cygpath -w .` -I../../../inc -I`cygpath -w ./../../Common` -I`cygpath -w ./../../LinAlg` -I`cygpath -w ./../../LinAlg/TMatrices` -I`cygpath -w ./../../Algorithm` -I`cygpath -w ./../../Interfaces` -IC:/cygwin/home/myd/Ipopt/ThirdParty/ASL -IC:/cygwin/home/myd/Ipopt/ThirdParty/ASL/solvers -O3 -fomit-frame- pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wret urn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -MT ampl_ipopt.o -MD -MP -MF ".deps/ampl_ipopt.Tpo" -c -o ampl_ipopt.o ampl_ipopt.cpp; \ then mv -f ".deps/ampl_ipopt.Tpo" ".deps/ampl_ipopt.Po"; else rm -f ".deps/ampl_ipopt.Tpo"; exit 1; fi /bin/sh ../../../../libtool --tag=CXX --mode=link g++ -O3 -fomit-frame- pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn- type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wc onversion -o ipopt.exe ampl_ipopt.o libamplinterface.la ../../Interfaces/libipopt.la C:/cygwin/home/myd/Ipopt/ThirdParty/ASL/amplsolver.a -ldl -lm -ldl -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/li b/gcc/i686-pc-cygwin/3.4.4/../../.. -lfrtbegin -lg2c -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -ldl g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite- strings -Wconversion -o ipopt.exe ampl_ipopt.o ./.libs/libamp linterface.a ../../Interfaces/.libs/libipopt.a C:/cygwin/home/myd/Ipopt/ThirdParty/ASL/amplsolver.a -L/usr/lib/gcc/i686 -pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lfrtbegin /usr/lib/gcc /i686-pc-cygwin/3.4.4/libg2c.a -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -ldl make[3]: Leaving directory `/home/myd/Ipopt/Ipopt/src/Apps/AmplSolver' make[2]: Leaving directory `/home/myd/Ipopt/Ipopt/src/Apps' make[1]: Leaving directory `/home/myd/Ipopt/Ipopt' }}} It seems to link the ipopt.exe file fine. Where is the error? Thanks -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs. From coin-trac at coin-or.org Fri May 30 09:50:39 2008 From: coin-trac at coin-or.org (Ipopt) Date: Fri, 30 May 2008 13:50:39 -0000 Subject: [Ipopt-tickets] [Ipopt] #77: allow strings with white spaces as values of string options In-Reply-To: <051.db26c7646e4c267bd51032e9463f009d@coin-or.org> References: <051.db26c7646e4c267bd51032e9463f009d@coin-or.org> Message-ID: <060.6d5ce15cc2f5674c8a1d61cb28d5d188@coin-or.org> #77: allow strings with white spaces as values of string options --------------------------------+------------------------------------------- Reporter: stefan | Owner: ipopt-team Type: enhancement | Status: closed Priority: normal | Component: Ipopt Version: 3.4 (C++ Version) | Severity: normal Resolution: fixed | Keywords: --------------------------------+------------------------------------------- Comment (by stefan): Replying to [comment:1 andreasw]: > I really like your tickets! They come with the solution!!! :-) I realized that this can enormously speed up fixing them. ;-) > Nice idea, and nice coding. I committed your bugfix to Ipopt/trunk and it will soon go into stable and a new release. It is in changeset 1240. Thanks. Of course, this was not a bug report, only a request for an enhancement. Stefan -- Ticket URL: Ipopt Interior-point optimizer for nonlinear programs.