-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feasibility Analysis #114
Comments
I can find the shadow price by solving the DUAL problem with solver.Solve(modelDUAL), but still I would like to find bounds etc. :O) |
Hey Thomas,
Not sure if this helps or not, but try this:
```javascript
var solver = require("./src/solver"),
results,
model = {
"optimize": "capacity",
"opType": "max",
"constraints": {
"plane": {"max": 44},
"person": {"max": 512},
"cost": {"max": 300000}
},
"variables": {
"brit": {
"capacity": 20000,
"plane": 1,
"person": 8,
"cost": 5000
},
"yank": {
"capacity": 30000,
"plane": 1,
"person": 16,
"cost": 9000
}
},
};
results = solver.Solve(model,0.0000001, true);
console.log(results);
```
…On Sat, Jan 2, 2021 at 6:01 PM Thomas Petersen ***@***.***> wrote:
I can find the shadow price by solving the DUAL problem with
solver.Solve(modelDUAL), but still I would like to find bounds etc. :O)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAS6F52MATPYQO3YSOLWUYDSX6XULANCNFSM4VRKUN3A>
.
|
Hi JWally thank you so much for your quick reply :O) |
Hi guys... I'm studying the possibility of using this library on a new project and the allowable decrease and increase for the current solution is something very important. |
Thanks for a great LP solver, its very fast and reliable, you've done a super job :O)
I am new to javascript, but am creating a solver for students, as an alternative to Excel Solver, but I would like to include some kind of feasibility analysis.
I was wondering if there are some nice way to retrieve:
Lower and upper bounds for RHS and Objective coefficients
shadow prices
contribution margins.
Can I get more information, than the output from solver.Solve(model) in your README.md?
The text was updated successfully, but these errors were encountered: