We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e1613c commit 2e9380eCopy full SHA for 2e9380e
README.md
@@ -44,20 +44,20 @@ following steps are always required when using the interface:
44
1) It is necessary to import python-scip in your code. This is achieved
45
by including the line
46
47
-``` {.sourceCode .python}
+```python
48
from pyscipopt import Model
49
```
50
51
2) Create a solver instance.
52
53
54
model = Model("Example") # model name is optional
55
56
57
3) Access the methods in the `scip.pxi` file using the solver/model
58
instance `model`, e.g.:
59
60
61
x = model.addVar("x")
62
y = model.addVar("y", vtype="INTEGER")
63
model.setObjective(x + y)
0 commit comments