Using mwcsr package
Installation | Quick start | Supported problem types | Simple MWCS | Budget MWCS | Generalized MWCS (GMWCS) | Signal generalized MWCS (SGMWCS) | Constructing SGMWCS instances | Supported solvers | Rmwcs solver | Rnc solver | Simulated annealing solver | Java-based Virgo solver | SCIP-jack solver | Integration with BioNet