Skip to content

Commit 6fdbbdf

Browse files
committed
Fix doc
1 parent ef8329b commit 6fdbbdf

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

docs/src/constraints.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,7 @@ julia> X = monomials(x, 0:2)
3232
3333
julia> using SumOfSquares
3434
35-
julia> model = Model()
36-
A JuMP Model
37-
Feasibility problem with:
38-
Variables: 0
39-
Model mode: AUTOMATIC
40-
CachingOptimizer state: NO_OPTIMIZER
41-
Solver name: No optimizer attached.
35+
julia> model = Model();
4236
4337
julia> @variable(model, p, Poly(X))
4438
(_[1])·1 + (_[2])·x₃ + (_[3])·x₂ + (_[4])·x₁ + (_[5])·x₃² + (_[6])·x₂x₃ + (_[7])·x₂² + (_[8])·x₁x₃ + (_[9])·x₁x₂ + (_[10])·x₁²
@@ -132,13 +126,7 @@ julia> @polyvar x y
132126
133127
julia> using SumOfSquares
134128
135-
julia> model = SOSModel()
136-
A JuMP Model
137-
Feasibility problem with:
138-
Variables: 0
139-
Model mode: AUTOMATIC
140-
CachingOptimizer state: NO_OPTIMIZER
141-
Solver name: No optimizer attached.
129+
julia> model = SOSModel();
142130
143131
julia> @variable(model, α)
144132
α

docs/src/variables.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,7 @@ We can now create our polynomial variable `p` as follows:
3333
```jldoctest variables
3434
julia> using SumOfSquares
3535
36-
julia> model = Model()
37-
A JuMP Model
38-
Feasibility problem with:
39-
Variables: 0
40-
Model mode: AUTOMATIC
41-
CachingOptimizer state: NO_OPTIMIZER
42-
Solver name: No optimizer attached.
36+
julia> model = Model();
4337
4438
julia> @variable(model, p, Poly(X))
4539
(_[1])·1 + (_[2])·y + (_[3])·x + (_[4])·y² + (_[5])·xy + (_[6])·x²

0 commit comments

Comments
 (0)