Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed May 29, 2024
1 parent a548cf8 commit f02c6fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/src/submodules/FileFormats/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ names are replaced with generic identifiers.
### The SDPA file format

```jldoctest
julia> model = MOI.FileFormats.Model(format = MOI.FileFormats.FORMAT_SDPA)
MOI.FileFormats.SDPA.Model
├ ObjectiveSense: FEASIBILITY_SENSE
├ ObjectiveFunctionType: MOI.ScalarAffineFunction{Float64}
Expand Down Expand Up @@ -179,9 +180,9 @@ If so, copy `src` to a bridged model using [`Bridges.full_bridge_optimizer`](@re
```jldoctest
julia> src = MOI.Utilities.Model{Float64}();
julia> x = MOI.add_variable(model);
julia> x = MOI.add_variable(src);
julia> MOI.add_constraint(model, x, MOI.ZeroOne());
julia> MOI.add_constraint(src, x, MOI.ZeroOne());
julia> dest = MOI.FileFormats.Model(format = MOI.FileFormats.FORMAT_CBF);
Expand Down

0 comments on commit f02c6fc

Please sign in to comment.