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

getInternalModel and other JuMP exports #11

Closed
vgupta1 opened this issue Apr 11, 2014 · 2 comments
Closed

getInternalModel and other JuMP exports #11

vgupta1 opened this issue Apr 11, 2014 · 2 comments

Comments

@vgupta1
Copy link
Collaborator

vgupta1 commented Apr 11, 2014

Right now

m = RobustModel()
### do stuff
int_m = getInternalModel(m)

fails, because getInternalModel isn't exported from JuMPeR.jl around line 27... There seem to be some other model functions that are also not exported yet, presumably because they were added to JuMP recently.

More generally, it seems like a painful design choice to have to update the exports everytime new functionality is added to the Model class in JuMP...

@IainNZ
Copy link
Owner

IainNZ commented Apr 11, 2014

Agreed, its silly. See JuliaLang/julia#1986 and JuliaLang/julia#5608

I'll fix it now

@IainNZ IainNZ closed this as completed in 9966b2b Apr 11, 2014
@simonster
Copy link

Maybe I should just make that macro into a package? The debate over what should go into Base is a classic bikeshed, but that doesn't mean the macro isn't useful now.

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