Skip to content

Commit

Permalink
Update lpgen.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TimLai666 committed Nov 1, 2024
1 parent b02a71c commit 7a7a4bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Docs/lpgen.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,11 @@ This example defines a simple linear programming model with two variables and co

#### LINGO Support

The `lpgen` package also supports LINGO, which is a popular optimization software.

1. `ParseLingoModel_txt`
Parse LINGO model from txt file. Go to `LINGO > Generate > Display Model` in LINGO to get the model.
Parse LINGO model from txt file. It turns LINGO model to standard lp model.
Go to `LINGO > Generate > Display Model` in LINGO to get the model.
```go
func ParseLingoModel_txt(filePath string) *LPModel
```

0 comments on commit 7a7a4bb

Please sign in to comment.