You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Convex.jl** is a [Julia](http://julialang.org) package for [Disciplined Convex Programming](http://dcp.stanford.edu/). Convex.jl can solve linear programs, mixed-integer linear programs, and DCP-compliant convex programs using a variety of solvers, including [Mosek](https://github.com/JuliaOpt/Mosek.jl), [Gurobi](https://github.com/jump-dev/Gurobi.jl), [ECOS](https://github.com/jump-dev/ECOS.jl), [SCS](https://github.com/jump-dev/SCS.jl), and [GLPK](https://github.com/JuliaOpt/GLPK.jl), through [MathOptInterface](https://github.com/jump-dev/MathOptInterface.jl). It also supports optimization with complex variables and coefficients.
8
+
**Convex.jl** is a [Julia](http://julialang.org) package for
-**Detailed documentation and examples** for Convex.jl ([stable](https://jump.dev/Convex.jl/stable) | [development version](https://jump.dev/Convex.jl/dev)).
31
-
- If you're running into **bugs or have feature requests**, please use the [Github Issue Tracker](https://github.com/jump-dev/Convex.jl/issues>).
32
-
- For usage questions, please contact us via [Discourse](https://discourse.julialang.org/c/domain/opt).
20
+
Convex.jl also supports optimization with complex variables and coefficients.
33
21
34
-
## Quick Example
22
+
For usage questions, please contact us via [Discourse](https://discourse.julialang.org/c/domain/opt).
23
+
24
+
## Installation
35
25
36
-
To run this example, first install Convex and at least one solver, such as SCS:
37
26
```julia
38
-
using Pkg
27
+
import Pkg
39
28
Pkg.add("Convex")
40
-
Pkg.add("SCS")
41
29
```
42
-
Now let's solve a least-squares problem with inequality constraints.
30
+
31
+
## Quick Example
32
+
43
33
```julia
44
34
# Let us first make the Convex.jl module available
45
35
using Convex, SCS
@@ -69,12 +59,15 @@ problem.optval
69
59
70
60
A number of examples can be found [here](https://jump.dev/Convex.jl/stable/).
71
61
The [basic usage notebook](https://jump.dev/Convex.jl/stable/examples/general_examples/basic_usage/)
72
-
gives a simple tutorial on problems that can be solved using Convex.jl. All examples can be downloaded as
73
-
a zip file from [here](https://jump.dev/Convex.jl/stable/examples/notebooks.zip).
62
+
gives a simple tutorial on problems that can be solved using Convex.jl.
63
+
64
+
All examples can be downloaded as a zip file from [here](https://jump.dev/Convex.jl/stable/examples/notebooks.zip).
74
65
75
66
## Citing this package
76
67
77
-
If you use Convex.jl for published work, we encourage you to cite the software using the following BibTeX citation:
68
+
If you use Convex.jl for published work, we encourage you to cite the software
69
+
using the following BibTeX citation:
70
+
78
71
```bibtex
79
72
@article{convexjl,
80
73
title = {Convex Optimization in {J}ulia},
@@ -86,5 +79,3 @@ If you use Convex.jl for published work, we encourage you to cite the software u
0 commit comments