Skip to content

Commit

Permalink
chore: fix math formula.
Browse files Browse the repository at this point in the history
  • Loading branch information
fuookami committed Apr 2, 2024
1 parent 683935b commit 570d8eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ y \leq \sum_{i} x_{i}, \\; \forall i
$$

$$
y \in \{ 0, 1 \}
y \in \\{ 0, 1 \\}
$$

Of course, you can also extend these intermediate expressions according to your own business requirements. At this point, you need to implement some interfaces to let ospf know which intermediate variables and constraints need to be added for these intermediate expressions.
Expand Down
2 changes: 1 addition & 1 deletion README_ch.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ y \leq \sum_{i} x_{i}, \\; \forall i
$$

$$
y \in \{ 0, 1 \}
y \in \\{ 0, 1 \\}
$$

当然,你也可以根据自己的业务需求,拓展这些函数中间值。这个时候你要实现一些接口,以让 ospf 知道这个函数中间值需要添加哪些中间变量以及约束。
Expand Down

0 comments on commit 570d8eb

Please sign in to comment.