source: trunk/Creme/data/format.txt

Last change on this file was 9, checked in by pbelotti, 6 years ago

accented creme in format.txt

File size: 1.0 KB
Line 
1-----------------------------------
2File format for Creme
3-----------------------------------
4
5All files read by (the current version of) Creme are bzip2'ed text
6files that contain a (possibly infeasible) system Ax <= b with the
7following scheme (all fields are separated by a tab):
8
91) First line: number of variables n, number of constraint m, number
10of nonzeros nnz;
11
122) Lines 2 to n+1: each line contains lower and upper bound of all
13variables (-/+ 1e30 if unbounded);
14
153) lines n+2 + n+m+1: each line describes an inequality with K terms
16
17l <= sum_{k=1..K} a_{i(k)} x_{i(k)} <= u
18
19with a list of numbers (separated by tab) such that:
20
21  - the first number is K, the number of variables in the inequality
22
23  - the second and third are l and u, respectively. Note: either
24    l=-1e30 or u=1e30, i.e., for now Creme only deals with
25    inequalities;
26
27  - the remaining 2K elements are pairs (index,coefficient), i.e.,
28    i(k) and a_{i(k)}
29
30A translator from .lp to this compact format is in the works and will
31be included in an early revision of Creme.
Note: See TracBrowser for help on using the repository browser.