Comments (7)
I duplicated the above problem in Julia 0.6-rc2
from ipopt.jl.
what's the error? what platform?
from ipopt.jl.
Getting curious about the error, I tried the above code on JuliaBox, kernels 0.5.2 and 0.6 as well as on my local OSX platform kernel 0.5.2. Kernels actually die when trying to solve the problem, no error message...
from ipopt.jl.
and outside of ijulia?
from ipopt.jl.
Got a segmentation fault 11.
Here is the full error message:
`******************************************************************************
This program contains Ipopt, a library for large-scale nonlinear optimization.
Ipopt is released as open source code under the Eclipse Public License (EPL).
For more information visit http://projects.coin-or.org/Ipopt
This is Ipopt version 3.12.4, running with linear solver mumps.
NOTE: Other linear solvers might be more efficient (see Ipopt documentation).
don't call me
signal (11): Segmentation fault: 11
while loading /Users/charles/Desktop/test.jl, in expression starting on line 14
#5 at /Users/charles/Desktop/test.jl:12
unknown function (ip: 0x10e0149d7)
jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined]
jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950
eval_h_wrapper at /Users/charles/.julia/v0.5/Ipopt/src/Ipopt.jl:149
unknown function (ip: 0x10e012f42)
_ZN5Ipopt16StdInterfaceTNLP6eval_hEiPKdbdiS2_biPiS3_Pd at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
_ZN5Ipopt11TNLPAdapter9GetSpacesERNS_8SmartPtrIKNS_11VectorSpaceEEES5_S5_S5_RNS1_IKNS_11MatrixSpaceEEES5_S9_S5_S9_S5_S9_S9_S9_RNS1_IKNS_14SymMatrixSpaceEEE at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
ZN5Ipopt12OrigIpoptNLP20InitializeStructuresERNS_8SmartPtrINS_6VectorEEEbS4_bS4_bS4_bS4_bS4_S4 at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
_ZN5Ipopt9IpoptData24InitializeDataStructuresERNS_8IpoptNLPEbbbbb at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
_ZN5Ipopt25DefaultIterateInitializer18SetInitialIteratesEv at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
_ZN5Ipopt14IpoptAlgorithm18InitializeIteratesEv at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
_ZN5Ipopt14IpoptAlgorithm8OptimizeEb at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
_ZN5Ipopt16IpoptApplication13call_optimizeEv at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
_ZN5Ipopt16IpoptApplication11OptimizeNLPERKNS_8SmartPtrINS_3NLPEEERNS1_INS_16AlgorithmBuilderEEE at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
_ZN5Ipopt16IpoptApplication11OptimizeNLPERKNS_8SmartPtrINS_3NLPEEE at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
ZN5Ipopt16IpoptApplication12OptimizeTNLPERKNS_8SmartPtrINS_4TNLPEEE at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
IpoptSolve at /Users/charles/.julia/v0.5/Homebrew/deps/usr/lib/libipopt.dylib (unknown line)
solveProblem at /Users/charles/.julia/v0.5/Ipopt/src/Ipopt.jl:304
unknown function (ip: 0x10e0138c2)
jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined]
jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950
do_call at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:66
eval at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:190
eval_body at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:469
jl_interpret_call at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/interpreter.c:573
jl_toplevel_eval_flex at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:572
jl_parse_eval_all at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/ast.c:717
jl_load at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:596 [inlined]
jl_load at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/toplevel.c:605
include_from_node1 at ./loading.jl:488
jlcall_include_from_node1_20232 at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined]
jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950
process_options at ./client.jl:265
_start at ./client.jl:321
jlcall__start_21574 at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
jl_call_method_internal at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/./julia_internal.h:211 [inlined]
jl_apply_generic at /Users/osx/buildbot/slave/package_osx10_9-x64/build/src/gf.c:1950
true_main at /Applications/Julia-0.5.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Applications/Julia-0.5.app/Contents/Resources/julia/bin/julia (unknown line)
`
from ipopt.jl.
I am dealing with a similar issue on another NL unconstrained problem. Has there any work being done to address this? Has anyone found a work around?
from ipopt.jl.
This is not a bug in Ipopt.jl.
The hessian function needs to check the mode
argument.
(x, mode, rows, cols, obj_factor, lambda, values) -> begin
if mode == :Structure
rows[1] = 1;
cols[1] = 1;
else
values[1] = sum(exp.(x[1] .* A) .* A .* A)
end
end,
from ipopt.jl.
Related Issues (20)
- copy_to does not copy attributes for variable bound constraints HOT 6
- Only evaluate QP callbacks if needed HOT 1
- Problem with HSL solvers since updating to MacOS 13.0 HOT 3
- double free or corruption (out) error HOT 20
- Linking full hsl library to Ipopt.jl on ubuntu HOT 19
- julia 0.6.0 install Ipopt cannot connect to mumps dependency HOT 2
- Add support for GetIpoptCurrentViolations
- Incorrect number of Hessian structure (nonzero entries) HOT 10
- Does Ipopt.jl support giving hessian matrix in JuMP directly, without using the C_wrapper? HOT 2
- pointer being freed was not allocated HOT 33
- Invalid number in NLP function or derivative detected. HOT 8
- Issue with non-negative variable tolerance. HOT 2
- does not allow Ipopt_jll current version HOT 2
- Add some pre-built "debugging" callbacks HOT 1
- Crash on Windows when optimizing with SPRAL_jll HOT 11
- Using Ipopt in parallel threads HOT 4
- "double free or corruption" when providing duplicate hessian entries via MathOptInterface HOT 4
- Parsing an NLP HOT 1
- Ipopt does not print in Jupyter notebooks HOT 4
- Get number of iterations after optimization HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipopt.jl.