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

cvxgrp / cvxpy / 2018
20%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2018 01:07AM UTC
Jobs 3
Files 292
Run time 1min
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
2018

push

travis-ci

SteveDiamond
Disciplined geometric programming (#643)

* Experimental API changes to make using reductions nicer.

* Prototype of GP support.

* Adds a notion of Disciplined Geometric Programming and log-log convexity.
* A handful of atoms now have log-log curvature, including *, +, /, power,
  maximum, sum_largest, hstack, reshape, and index; we can add more.
* Adds a reduction from DGPs to DCPs (Dgp2Dcp)
* Adds log-log atom canonicalizers for the DGP to DCP reduction.
* Adds methods to Reduction to simplify the API (in particular, reductions
  can now be used without having to pass around inverse_data).
* Adds a method to Problem that unpacks a Solution object and updates the
  problem state.
* Adds tests for DGP and for Dgp2Dcp, all of which are passing.
* Adds pretty printing to the Solution object.

TODO:
* Add tests for dual variables.
* Clean up logic related to constraints.
* Make problem.solve(gp=True) hook into Dgp2Dcp.
* Add a few more atoms (e.g,. norm, geo_mean, sqrt, cumsum, exp, log, and
  vstack+etc.)

* Add more GP atoms.

* Additions include some affine atoms (e.g. stacking) and geo_mean.
* Also clean up some log_log_convex logic.

* Introduce Equality and Inequality constraint classes.

* Adds Equality and Inequality constraint classes, which generalize
  the Zero and NonPos constraints.
* Motivation: Zero and NonPos constraints don't make sense for
  geometric programs, where the natural constraints are log-log affine == 1.
  and log-log convex <= 1.
* Equality and Inequality constraints are lowered to Zero and NonPos
  constraints by the MatrixStuffing constraint.

* Solve GPs via problem.solve(gp=True)

* With this change, problem.solve(gp=True) will parse the problem as a GP
  (and reduce it to an equivalent DCP form) before solving it.
* The keyword argument `gp` is False by default, ie, problems are assumed to
  be DCP by default.
* We add a new exception type, DGPError, which is analogous to DCP... (continued)

1480 of 1480 new or added lines in 94 files covered. (100.0%)

13526 of 16800 relevant lines covered (80.51%)

2.44 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2018.2 (DISTRIB="conda" PYTHON_VERSION="3.5" INSTALL_ATLAS="true" NUMPY_VERSION="1.14" SCIPY_VERSION="0.19" COVERAGE="true" DEPLOY_PYPI="false") 12 Dec 2018 01:07AM UTC 0
80.51
Travis Job 2018.2
3 2018.3 (DISTRIB="conda" PYTHON_VERSION="3.6" INSTALL_ATLAS="true" NUMPY_VERSION="1.14" SCIPY_VERSION="0.19" COVERAGE="true" DEPLOY_PYPI="true" PYPI_SERVER="https://upload.pypi.org/legacy/") 12 Dec 2018 01:07AM UTC 0
80.51
Travis Job 2018.3
5 2018.5 (DISTRIB="conda" PYTHON_VERSION="3.5" INSTALL_ATLAS="true" NUMPY_VERSION="1.14" SCIPY_VERSION="0.19" COVERAGE="true" DEPLOY_PYPI="false") 12 Dec 2018 01:08AM UTC 0
82.67
Travis Job 2018.5
Source Files on build 2018
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2018
  • 1316ce16 on github
  • Prev Build on master (#2005)
  • Next Build on master (#2019)
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