Skip to content
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

[RFC] Cut interface #9

Open
blegat opened this issue Jun 24, 2017 · 3 comments
Open

[RFC] Cut interface #9

blegat opened this issue Jun 24, 2017 · 3 comments

Comments

@blegat
Copy link
Member

blegat commented Jun 24, 2017

An AbstractNode must implements getoptimalitycut and getfeasibilitycut.

  • getoptimalitycut must returns a MinFunCut (do you prefer UBFunCut ?) (θ ≦ ⟨a, x⟩ + β) or a MaxFunCut (do you prefer LBFunCut ?) (θ ≧ ⟨a, x⟩ + β).
  • getfeasibilitycut must returns a LBCut (⟨a, x⟩ ≧ β) or a UBCut (⟨a, x⟩ ≦ β).
    The 4 cut types will be defined in CutPruners. What do you think ?
@odow
Copy link
Member

odow commented Jun 25, 2017

Why not parameterise the cuts by :lb or :ub?

@blegat
Copy link
Member Author

blegat commented Jun 25, 2017

We could have something like that too but having different types can be helpful when we want to do multiple dispatch. We could also have Cut{Fun, LB} where Fun and LB are boolean

@frapac
Copy link
Member

frapac commented Jun 26, 2017

I think these notations make already sense with those used in CutPruners.jl:
https://github.com/JuliaPolyhedra/CutPruners.jl/blob/master/src/abstract.jl#L17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants