qics.io.read_file

qics.io.read_file(filename)[source]

Reads a file representing a conic program, and return a Model representing this problem. Currently supports *.dat-s, *.dat-c, and *.cbf file formats.

Parameters:
filenamestring

Name of the file and file format we want to read.

Returns:
Model

Model representing the conic program from the specified file.

See also

write_file

Write a conic program to a file of a specified format.

read_sdpa

Read file in the SDPA sparse format.

read_cbf

Read file in the Conic Benchmark Format.