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

JuliaOpt / JuMP.jl / 8517 / 5
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 15 Apr 2020 06:28PM 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.031% (+4.9%) from 86.176%
8517.5

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.

3745 of 4114 relevant lines covered (91.03%)

724.62 hits per line

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