Functions | |
| def | make_data (n, prob) |
| def | ssp (V, E) |
Variables | |
| E | |
| def | model = ssp(V, E) |
| V | |
| def | x = model.data |
| def ssp.make_data | ( | n, | |
| prob | |||
| ) |
| def ssp.ssp | ( | V, | |
| E | |||
| ) |
ssp -- model for the stable set problem
Parameters:
- V: set/list of nodes in the graph
- E: set/list of edges in the graph
Returns a model, ready to be solved.
Definition at line 10 of file ssp.py.
References pyscipopt.expr.quicksum().