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

Strange printing for ranges #268

Closed
joehuchette opened this issue Sep 18, 2014 · 4 comments
Closed

Strange printing for ranges #268

joehuchette opened this issue Sep 18, 2014 · 4 comments
Assignees
Labels
Category: Printing Related to printing
Milestone

Comments

@joehuchette
Copy link
Contributor

julia> m = Model();

julia> @defVar(m, x[1:2,2:5:12]);

julia> print(m)
Min 0
Subject to
x[i,j], for all i in {1..2}, j in {2,7,12} free

Why does 1:2 get printed with .. while 2:5:12 doesn't?

@joehuchette
Copy link
Contributor Author

cc @IainNZ

@IainNZ IainNZ added the Category: Printing Related to printing label Sep 19, 2014
@IainNZ IainNZ self-assigned this Sep 19, 2014
@IainNZ IainNZ added this to the 0.7 milestone Sep 19, 2014
@IainNZ
Copy link
Collaborator

IainNZ commented Sep 19, 2014

Huh. I'll deal with this in the refactor

@IainNZ
Copy link
Collaborator

IainNZ commented Sep 19, 2014

Fixed in refactor

@IainNZ
Copy link
Collaborator

IainNZ commented Sep 27, 2014

Fixed with #250

@IainNZ IainNZ closed this as completed Sep 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Printing Related to printing
Development

No branches or pull requests

2 participants