powered by
Calculate weight of the solution. MWCS, GMWCS and SGMWCS instances are supported
get_weight(solution)
Weight of the subgraph
Either mwcsp_solution or `igraph`` object representing the solution
mwcsp_solution