• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaOpt / JuMP.jl / 8519
92%

Build:
DEFAULT BRANCH: master
Ran 17 Apr 2020 06:27PM UTC
Jobs 5
Files 42
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8519

cron

travis-ci

web-flow
Function `reduced_cost` (code, documentation, and tests) (#2205)

* Added method `reduced_cost`. Added documentation for it (with cross-reference to method `shadow_price`, but it is in section Variables, while `shadow_price` is in section Constraints).

* Small documentation enhancement. Restricted tests to only the related to constraints. Started to piece the tests for reduced_cost.

* Small untested changes to reduced_cost testing (WIP).

* Change reduced_cost implementation and definition. Created a comment with what to mock to try to test reduced_cost.

* Changed `reduced_cost` code and documentation. Created mock structs and implemented mock tests. All passing.

* Fixed the parameter type of `reduced_cost` in the documentation.

* Mainly internal changes to `reduced_cost` tests. Changed type of `reduced_cost` parameter to `VariableRef` (instead of `AbstractVariableRef`). Removed the dedicated `MockModel` for `reduced_cost` and used the `MockOptimizer` instead. Removed mentions to FEASIBILITY_SENSE (from function implementation and tests). The double bound tests are commented because `MockOptimizer` seems to not support querying the dual of both constraints.

* Fixed MOI import error. Change tested.

* Fixed indentation problem caused by tabs.

10 of 10 new or added lines in 1 file covered. (100.0%)

3079 of 3422 relevant lines covered (89.98%)

4211.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8519.1 17 Apr 2020 06:30PM UTC 0
86.18
Travis Job 8519.1
2 8519.2 17 Apr 2020 06:27PM UTC 0
91.36
Travis Job 8519.2
3 8519.3 17 Apr 2020 06:30PM UTC 0
91.13
Travis Job 8519.3
4 8519.4 17 Apr 2020 06:28PM UTC 0
91.28
Travis Job 8519.4
5 8519.5 17 Apr 2020 06:30PM UTC 0
91.03
Travis Job 8519.5
Source Files on build 8519
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8519
  • a1b7da23 on github
  • Prev Build on master (#8518)
  • Next Build on master (#8520)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc