Skip to content

DQCP: Fix detection of monotone real functions#909

Merged
akshayka merged 1 commit into
masterfrom
qcvx_incr
Dec 23, 2019
Merged

DQCP: Fix detection of monotone real functions#909
akshayka merged 1 commit into
masterfrom
qcvx_incr

Conversation

@akshayka

Copy link
Copy Markdown
Collaborator

Fixes a bug in DQCP analysis in analyzing monotone real functions; DQCP
analysis previously did not check whether the argument of a scalar function
was also scalar. This bug caused DQCP analysis to be too permissive, incorrectly
labeling things as DQCP and causing the reduction to fail in surprising ways.

As an extension, this change adds the vector atoms cp.max and cp.min to the
DQCP atom library, letting users take the max or min of quasiconvex or
quasiconcave expressions. Previously, only the elementwise cp.maximum and
cp.minimum atoms were allowed.

Fixes #904

Fixes a bug in DQCP analysis in analyzing monotone real functions; DQCP
analysis previously did not check whether the argument of a scalar function
was also scalar. This bug caused DQCP analysis to be too permissive, incorrectly
labeling things as DQCP and causing the reduction to fail in surprising ways.

As an extension, this change adds the vector atoms cp.max and cp.min to the
DQCP atom library, letting users take the max or min of quasiconvex or
quasiconcave expressions. Previously, only the elementwise cp.maximum and
cp.minimum atoms were allowed.
@akshayka akshayka merged commit 381c73c into master Dec 23, 2019
@SteveDiamond SteveDiamond deleted the qcvx_incr branch April 5, 2020 01:50
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.

Error with quasiconvex atom

1 participant