Code Monkey home page Code Monkey logo

cvxlean's Issues

DCP autogenerated constraint names

Currently, when dcp is applied, the new conic constraints are anonymous. Instead, we could give them a more informative name. For example, new constraints coming from constraint c1 could be called c1.1, c1.2, etc.

New command: `#dcp_check`

The idea is that it takes an expression and checks its curvature using the DCP rules. Currently, one needs to define a whole problem and apply the dcp tactic.

Reduce number of congruence rules applied by `pre_dcp`

Currently, every rewrite step (except objective function pre-compositions) results in an application of a (custom) congruence rule. This is unnecessary. All the rewrites on a given component can be applied together.

Before: (rewrite_constraint_2; rw_x), (rewrite_constraint_2; rw_y), (rewrite_constraint_2; rw_z), ...

After: rewrite_constraint_2; (rw_x; rw_y; rw_z), ...

New command: `#print_atoms`

A convenient way to list all the atoms. It could also take some options, for example, to print only convex atoms.

PANIC on `mvarId!`

The source of this error is still unknown. Check that we guard all calls to Expr.mvarId!. Note that this doesn't make CvxLean crash and only appears as an error message in the process output.

Apply `pre_dcp` to one component

Extension of pre_dcp (for instance, something like pre_dcp only ...) that targets only one component instead of the whole optimization problem. It is often the case that one or two constraints are problematic, but the rest are fine. So, it would be helpful for users to be able to target those.

Interactive online tutorial

The idea would be to do something like the Duper tutorial based on lean4web. The main challenge is that our installation has a few prerequisites, mainly Rust/Cargo to enable pre_dcp, and MOSEK.

This can only be done properly after we solve #35 (ECOS) since MOSEK requires a license.

Project website

Initially, this can be just a version of the README file.

Ideally, do #37 first so that it can be linked.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.