Comments (2)
Hello @brmanuel!
It seems that you have been indirectly introduced to the SCIP's solving stages :)
Before starting the solving process, SCIP transforms the problem into an easier form to work with. That involves creating transformed variables and constraints.
So, here the reason why SCIPgetDualsolLinear
returns zeros, is that you pass the original constraints to it which are not part of the transformed problem so they are inactive hence have zero values.
The correct one to use here is SCIPgetDualSolVal
as it does in fact call SCIPgetDualsolLinear
but calls it on the corresponding transformed constraint.
from scip.
Hi @mmghannam
Thank you very much for your answer here and in the related issue!
This clears up my confusion.
from scip.
Related Issues (20)
- [Feature request] Writing a problem to the AMPL format
- CI/CD: Request for improved clarity on how release artifacts are built HOT 3
- question: how not to use nlpi_ipopt which depend on proprietray libhsl.so? HOT 3
- Interesting paper HOT 1
- `RelWithDebInfo` build is still asserting. HOT 4
- question: compiled with GMP=on, how to ensure GMP is used with CVXPY? HOT 3
- Difference in the objective value of a MIP in version 8.1.0 HOT 3
- What are the uses of nauty in SCIP? HOT 4
- System.AccessViolationException when trying to delete a restriction after LPError HOT 1
- Highs interface, option values function call deprecated HOT 1
- Adding constraint improves objective. HOT 4
- Request: Publish debs for aarch64
- SCIP v8.0.3 not accepting initial feasible solution HOT 5
- Inconsistent results between SCIP and Gurobi HOT 5
- Can't subscribe to the SCIP mailing list HOT 1
- Changing variable bounds during reoptimization HOT 9
- [Feature request] WebAssembly target HOT 4
- Variable name with space in solution file
- Documentation update about trigonometric functions (cos, sin) support HOT 3
- [Bug] SCIPnodeFree() triggers a segmentation fault for certain problems. HOT 1
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.