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

WIP: Refactoring of printing to re-use more code between IJulia and REPL #250

Merged
merged 13 commits into from
Sep 27, 2014

Conversation

IainNZ
Copy link
Collaborator

@IainNZ IainNZ commented Sep 6, 2014

Refactors the printing code to hopefully clean it up, simplify it, improve (true) coverage, and make IJulia support consistent.

@IainNZ
Copy link
Collaborator Author

IainNZ commented Sep 27, 2014

Help:

using JuMP
@show JuMP.repl_leq
m = Model()
@defVar(m, x, Bin)
solve(m)
@show JuMP.repl_leq
JuMP.repl_leq => "≤"
Optimize a model with 0 rows, 1 columns and 0 nonzeros
Found heuristic solution: objective 0
Presolve removed 0 rows and 1 columns
Presolve time: 0.00s

Explored 0 nodes (0 simplex iterations) in 0.00 seconds
Thread count was 1 (of 8 available processors)

Optimal solution found (tolerance 1.00e-04)
Best objective 0.000000000000e+00, best bound 0.000000000000e+00, gap 0.0%
JuMP.repl_leq => "\u2264"

I don't get why it changes - no printing code seems to be touched...

@joehuchette
Copy link
Contributor

Did you change operating systems during optimization o_O

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.01%) when pulling 204d298 on cleanerprint into c7418d3 on master.

IainNZ added a commit that referenced this pull request Sep 27, 2014
Refactoring of printing to re-use more code between IJulia and REPL
@IainNZ IainNZ merged commit 55d985d into master Sep 27, 2014
@IainNZ IainNZ deleted the cleanerprint branch September 27, 2014 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants