Giter VIP home page Giter VIP logo

ddus.jl's Issues

Reproducibility with new versions of Julia

Hi,

Thanks for your well-documented repository.
I failed to run the code using the Julia version 1. potentially because of the incompatibility of JuMPeR with these versions.
Earlier versions of Julia (version 0.) are also obsolete.
Do you have any suggestions on how I can reproduce your code?

Thanks,

Cross-Validation for choosing epsilon/alpha/set

As discussed in the paper, it'd be nice to set up a general facility for using cross-validation (leveraging MLBase) to

  • Build a set using a part of the data
  • solve the optimization problem
  • test solution on remainder of data
  • amalgamate results
  • repeat for a grid of epsilon/alpha/choices of set

@IainNZ I'd be interested in your thoughts on what the architecture might look like to do this....

In the meantime, it's on my todo list to write an explicit example to doing this in an adhoc way for a set.

Handling bound constraints generically

Given an uncertainty set of form U = U_1 \cup U_2, a linear robust constraint over U can rewritten as

u^T x <= 0 for all u in U

as there exists x1, x2 such that

u^T x1 <= 0 for all u in U1
u^T x2 <= 0 for all u in U2
x1 + x2 = x

This suggests a way of decomposing complicated uncertainty sets into a portion for which there exists a nice reformulation and second portion for which we'd using cutting planes. In particular, for the sets in DDUS.jl we could handle additional constraints on the support intersected with the data-driven sets.

Ideally, I'm thinking something like:

#add some generic constraints, to be handled by general oracle
@defUnc(m, us[1:10] >=0)
addConstraint(m, sum(us) == 1)

#build a data-driven, or other complicated oracle
w = DDUS.UCSOracle( ... )

#add a robust constraint, designating the additional oracle
addConstraint(m, dot(us, xs) <= 0, w)

#solve... JuMP, or more likely the oracle itself, does the above decomposition on the back end to enforce both uncertainty sets.
solveRobust(m)

Thoughts @IainNZ ?

Multiple Constraints

The paper discusses optimizing the choice of epsilons when you have multiple constraints by

  • solving the original robust problem for a initial choice of epsilons
  • extracting the solution
  • solving a small auxiliary LP
  • updating the choice of epsilons with a gradient step

Again, it'd be nice to have a general facility for doing this. Thoughts @IainNZ ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.