Skip to content

Commit 2e9380e

Browse files
authored
Fix syntax highlighting (#958)
1 parent 7e1613c commit 2e9380e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,20 @@ following steps are always required when using the interface:
4444
1) It is necessary to import python-scip in your code. This is achieved
4545
by including the line
4646

47-
``` {.sourceCode .python}
47+
```python
4848
from pyscipopt import Model
4949
```
5050

5151
2) Create a solver instance.
5252

53-
``` {.sourceCode .python}
53+
```python
5454
model = Model("Example") # model name is optional
5555
```
5656

5757
3) Access the methods in the `scip.pxi` file using the solver/model
5858
instance `model`, e.g.:
5959

60-
``` {.sourceCode .python}
60+
```python
6161
x = model.addVar("x")
6262
y = model.addVar("y", vtype="INTEGER")
6363
model.setObjective(x + y)

0 commit comments

Comments
 (0)