get_weight {mwcsr}R Documentation

Calculate weight of the solution. MWCS, GMWCS and SGMWCS instances are supported

Description

Calculate weight of the solution. MWCS, GMWCS and SGMWCS instances are supported

Usage

get_weight(solution)

Arguments

solution

Either mwcsp_solution or 'igraph“ object representing the solution

Value

Weight of the subgraph


[Package mwcsr version 0.1.9 Index]