Comments (4)
This is very on my mind, and indeed #2 was me capturing that though. So we are definitely on the same page. I actually think its pretty exciting how the polyhedral specific part of PolyhedralOracle (apart from the setup) is realllly short.
from jumper.jl.
Ok, so that's what that meant. :) The original issue was a bit cryptic. :)
A related worry that sparked this line of thought was that although
defining UncertainConstr as GenericRangeConstr and type aliasing is
elegant, it leads to potentially confusing code like accessing UAffExpr via
unc_constraint.coeffs[1]
(in my mind, coeffs are floats, but maybe i'm just old-fashioned.)
For people new to JuMPer, this is definitely a weird gotchya. Not
something that a researcher wants to have to decipher in order to code up a
custom oracle. Possibly unrelated. to this thread.
Vishal Gupta
PhD Candidate, 2014
Operations Research Center
Massachusetts Institute of Technology
www.mit.edu/~vgupta1/
On Sun, Apr 20, 2014 at 11:33 PM, Iain Dunning [email protected]:
This is very on my mind, and indeed #2https://github.com/IainNZ/JuMPeR.jl/issues/2was me capturing that though. So we are definitely on the same page. I
actually think its pretty exciting how the polyhedral specific part of
PolyhedralOracle (apart from the setup) is realllly short.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-40913942
.
from jumper.jl.
Yeah so in the beginning:
UAffExpr - coeffs, uncs
FullAffExpr - coeffs::Vector{UAffExpr}, vars
then I made FullAffExpr
make use of GenericAffExpr
which cut down on code (and thus chances for bugs).
Finally, I changed recently the UAffExpr
to also be a GenericAffExpr
to cut down code any more - but at the cost of losing uncs
and changing it to vars
. I'm happy with coeffs
but vars
kind of hurts. I'm hoping that the helper functions will eventually wrap this to the point where even oracle developers don't need to touch JuMPeR-specific stuff like this.
from jumper.jl.
Fixed to my satisfaction for now, need to let whats there sit and see how it feels
from jumper.jl.
Related Issues (20)
- JuMPeR has no licence HOT 1
- Passing bad number of Uncertainties to Oracles HOT 9
- More compact reformulations HOT 4
- Docs out of date HOT 2
- conflict with "ScikitLearn" package HOT 16
- second-order conic constraint in uncertainty set HOT 3
- Extract affine policy coefficients HOT 3
- Typo in README
- Update to JuMP 0.14 HOT 2
- Error when solving problem with uncertain integer variables HOT 2
- JuMPeR not working in Julia PRO HOT 2
- JuMPeR not available for Julia v0.6.0 HOT 2
- Lazy constraints when solving a robust mixed integer model HOT 1
- Enable attobot for this package HOT 3
- JuMPeR v0.5.0 incompatible with JuMP v0.17.1 HOT 2
- Implement adding constraints on uncertain parameters for the BudgetUncertaintySet HOT 2
- Mapping Gurobi IIS to JuMP Constraints
- JuMPDict not defined
- Unsatisfiable requirements error with JuMP v0.20.1 HOT 3
- grisu issue
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 jumper.jl.