Comments (6)
I can reproduce this, at least.
The amount of memory in the error message is very large, but I would not know where this comes from. I'm also a little surprised because I thought that we had nonlinear tests both in CSIP as well as SCIP.jl (through JuMP).
Recompiling SCIP and CSIP in debug mode might give more insight, I will try that later.
PS: I did not know any SCIP tests require MA27, but maybe that is just an indicator for requiring IPOPT?
from scip.jl.
When I run the above Julia snippet with SCIP compiled in Debug
mode, this assertion fails:
julia: /home/rs/opt/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:12749: exprgraphAddExpr: Assertion `expr->nchildren > 0' failed.
[...]
exprgraphAddExpr at /home/rs/opt/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:12749
SCIPexprgraphAddExprtreeSum at /home/rs/opt/scipoptsuite-5.0.1/scip/src/nlpi/expr.c:15381
consActiveNonlinear at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/cons_nonlinear.c:8424
conshdlrActivateCons at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/cons.c:1584
SCIPconsActivate at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/cons.c:6670
SCIPprobAddCons at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/prob.c:1318
SCIPprobTransform at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/prob.c:571
SCIPtransformProb at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/scip.c:13985
SCIPpresolve at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/scip.c:15978
SCIPsolve at /home/rs/opt/scipoptsuite-5.0.1/scip/src/scip/scip.c:16198
CSIPsolve at /home/rs/src/CSIP/src/csip.c:997
optimize! at /home/rs/.julia/v0.6/SCIP/src/mpb_interface.jl:59
[...]
@fserra: I guess the expression graph is not constructed correctly in CSIP, then?
from scip.jl.
yes. The problem was that there was no objective function, however Julia was calling CSIPsetNonlinearObj with an empty expression and there were no checks for this in CSIP.
I will fix this in CSIP
from scip.jl.
OK, @rdeits, your example now works with SCIP.jl
on master
, after another Pkg.build("SCIP")
.
from scip.jl.
Thank you!
from scip.jl.
Fix will be completed in new release after JuliaLang/METADATA.jl#14691 is merged.
from scip.jl.
Related Issues (20)
- SCIP EXCEPTION_ACCESS_VIOLATION In JuMP 1.1.0 and SCIP V0.11.3 on Windows 11 HOT 26
- How to trigger SCIPsolveConcurrent? HOT 3
- Multiple threads HOT 10
- SCIP not working on Windows HOT 4
- Crash When Optimizing HOT 15
- Get original variables from constraint
- Collect all feasible solutions HOT 4
- Cannot install globally in Windows HOT 1
- [EXCEPTION_ACCESS_VIOLATION] Julia 1.8.5 incompatibility with SCIP v0.11.12 HOT 1
- MultipleObjectiveAlgorithms usage HOT 1
- Implement LazyConstraint from ConstraintHandler HOT 4
- SCIP solver -- issue in "quadratic_constraints.jl". HOT 2
- Not solving the optimization model with the SCIP solver HOT 12
- `MathOptInterface.ScalarNonlinearFunction` not supported by the solver HOT 9
- A new release is probably warranted - `is_valid()` is broken in `v0.11.14`
- How to get ConstraintDual? HOT 2
- SCIP optimizer status likely ser incorrectly. HOT 4
- Update to allow SCIP version 9?
- SCIP crashes on simple problem HOT 2
- SCIP.jl with exact-rational branch HOT 5
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 scip.jl.