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

Expression testing and clean ups #154

Merged
merged 13 commits into from
Oct 16, 2020
Merged

Conversation

harshangrjn
Copy link
Collaborator

@harshangrjn harshangrjn commented Oct 13, 2020

  1. JuMP v0.21 build error issues fixed
  2. Compilation error #146 (MOI support fix)
  3. expression.jl clean up
  4. eval() removal where unnecessary Unnecessary use of eval in source code #153
  5. NL objective parsing fix for higher-order monomials: Error in convexification of monomials #104
  6. Issues Reenable test: Validation Test || AMP-CONV-FACET || basic solve || examples/nlp1.jl #151 Reenable test: Validation Test || PBT-AMP-TMC || basic solve || examples/nlp3.jl #150 addressed
  7. Drop support for all trigonometric related functions (both in src and testing)
  8. Drop support of expression parsing for generic integer variables in MINLPs (both in src and testing)

@codecov
Copy link

codecov bot commented Oct 13, 2020

Codecov Report

Merging #154 into master will increase coverage by 2.24%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #154      +/-   ##
==========================================
+ Coverage   75.23%   77.47%   +2.24%     
==========================================
  Files          16       16              
  Lines        3359     3099     -260     
==========================================
- Hits         2527     2401     -126     
+ Misses        832      698     -134     
Impacted Files Coverage Δ
src/algorithm.jl 76.19% <ø> (ø)
src/amp.jl 88.29% <ø> (+0.42%) ⬆️
src/bounds.jl 84.43% <ø> (+1.78%) ⬆️
src/heuristics.jl 36.23% <ø> (ø)
src/log.jl 90.82% <ø> (+0.73%) ⬆️
src/multi.jl 62.98% <ø> (+2.29%) ⬆️
src/nlexpr.jl 91.31% <ø> (ø)
src/operators.jl 85.82% <ø> (+12.39%) ⬆️
src/presolve.jl 81.66% <ø> (+3.33%) ⬆️
src/solver.jl 93.33% <ø> (-1.55%) ⬇️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b8cb18a...d8e1bcf. Read the comment docs.

.travis.yml Outdated
@@ -4,10 +4,10 @@ os:
- linux
- osx
julia:
- 1.0
- 1.5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.5 and 1 are the same thing, 1 links to the latest 1.x release

test/runtests.jl Outdated
@@ -37,5 +36,5 @@ end
# Perform Tests
include("$(alpine_dir)/test/solver.jl")
include("$(alpine_dir)/test/expression.jl")
include("$(alpine_dir)/test/algorithm.jl")
include("$(alpine_dir)/test/utility.jl")
# include("$(alpine_dir)/test/algorithm.jl")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are these commented ? This is the cause of the coverage drop

Copy link
Collaborator Author

@harshangrjn harshangrjn Oct 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blegat Good point! I am cleaning up tests individually. I just created the PR but still pushing updates to the PR. It should be uncommented in the newer commits.

@harshangrjn harshangrjn self-assigned this Oct 14, 2020
@harshangrjn harshangrjn added this to the V0.2.0 milestone Oct 14, 2020
.travis.yml Outdated Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
@harshangrjn harshangrjn merged commit 50a111e into master Oct 16, 2020
@harshangrjn harshangrjn deleted the fix_expressions_testing branch October 16, 2020 22:04
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

Successfully merging this pull request may close these issues.

2 participants