Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Lp sensitivity summary #1917
Lp sensitivity summary #1917
Changes from 5 commits
e76a91c
759caf5
71b1969
5a77bdc
f26ac83
df8a04d
0c60f8a
26433d6
e1da919
684ca46
c054412
d73b110
420ff41
5302b01
d23e414
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Document the four things that are returned as a tuple.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Oscar, this should be done by defining the standard form as a MOIU model and letting bridges do the transformation during copy_to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would indeed be neat. However, I can't get it to work, I might be missing some thing (not so used with automatic bridges...)
Main issue: Every constraint should get an associated slack variable.
My idea was to copy the model to a model having only interval constraints, (Since you can create an MOI.Interval, from other the other sets.) However, I always get an unsupported constraint error. Moreover, I can't find a bridge that creates intervals (only the ones that splits intervals).
If this was accomplished then the slack bridge would accomplish the rest (I think).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No there is not any bridge that transforms
GreaterThan
orLessThan
toInterval
yet. You can try withThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The JuMP style guide would prefer
variable_to_column
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
1e-7
special? What is the implication of a value that is9e-8
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
9e-8 is treated as zero. (neither negative nor positive)
Don't know if 1e-7 is the best choice. (But it usually works =) )
(This is related to the minimum ratio test in the simplex method.)
Choosing the epsilon too small makes the analysis break down, since a number that should be positive is due to numerical reasons deemed negative. And too large epsilon is bad since elements that is clearly non-zero is regarded to be zero.
But yes, making use of absolute tolerance assumes that the input is not strangely scaled...
Any ideas, experience, or other input are most welcomed.
(The most common argument for allowing the use of absolute tolerance within the simplex method is by first rescaling the columns and rows in A)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some more comments through here / use more explicit variable names?