Line | |
---|

1 | ----------------------------------- |
---|

2 | File format for Creme |
---|

3 | ----------------------------------- |
---|

4 | |
---|

5 | All files read by (the current version of) Creme are bzip2'ed text |
---|

6 | files that contain a (possibly infeasible) system Ax <= b with the |
---|

7 | following scheme (all fields are separated by a tab): |
---|

8 | |
---|

9 | 1) First line: number of variables n, number of constraint m, number |
---|

10 | of nonzeros nnz; |
---|

11 | |
---|

12 | 2) Lines 2 to n+1: each line contains lower and upper bound of all |
---|

13 | variables (-/+ 1e30 if unbounded); |
---|

14 | |
---|

15 | 3) lines n+2 + n+m+1: each line describes an inequality with K terms |
---|

16 | |
---|

17 | l <= sum_{k=1..K} a_{i(k)} x_{i(k)} <= u |
---|

18 | |
---|

19 | with 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 | |
---|

30 | A translator from .lp to this compact format is in the works and will |
---|

31 | be included in an early revision of Creme. |
---|

**Note:** See

TracBrowser
for help on using the repository browser.