importDIMACSBin {gcolor} | R Documentation |
Import a DIMACS GRAPH from a DIMACS binary file. Most of the time the file is a .col.b file in DIMACS binary format.
importDIMACSBin(filename)
filename |
The DIMACS binary file to be imported into R. If not provided, the function will request it (in Windows will show a popup). |
The importDIMACSBin will ask you to locate the file to be imported. If the file is in the DIMACS format, a matrix will be returned. The matrix will contains 0 and 1, where 1 are the edges of the DIMACS Graph.
A matrix with the edges read from the DIMACS File.
The file must be a DIMACS format binary file.
Euripides Rivera Negron
## Import the Graph ## Not run: dimacMatrix<-importDIMACSBin() ## Solve the Graph with ineq ## Not run: solution<-ineq(importDIMACSBin())