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

JuliaOpt / JuMP.jl / 8516 / 4
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 14 Apr 2020 04:36PM UTC
Files 42
Run time 5s
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

14 Apr 2020 04:22PM UTC coverage: 91.278% (+5.1%) from 86.136%
8516.4

push

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.

3757 of 4116 relevant lines covered (91.28%)

786.75 hits per line

Source Files on job 8516.4
  • Tree
  • List 0
  • Changed 42
  • Source Changed 2
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7551
  • Travis Job 8516.4
  • a1b7da23 on github
  • Prev Job for on master (#8514.1)
  • Next Job for on master (#8517.2)
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