File: mps2linpro.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (39 lines) | stat: -rw-r--r-- 1,557 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
mps2linpro         Scilab Group         Scilab Function          mps2linpro
NAME
   mps2linpro - convert lp problem given in MPS format to linpro format
  
CALLING SEQUENCE
 lp = mps2linpro(mps)
 [p,C,b,ci,cs,mi] = mps2linpro(mps)
PARAMETERS
 mps        : either a character string, path of the MPS file, or an mps
            data structure returned by readmps
            
 lp         : a linpro data tlist with following fields:
            
           p          : real (column) vector (dimension  n)
                      
           C          : real matrix (dimension  (mi + md) x n) (If no
                      constraints are given, you can set C = [])
                      
           b          : RHS vector (dimension 1 x (mi + md))
                      
           ci         : (column) vector of lower-bounds (dimension  n). If
                      there are no lower bound constraints, put ci = []. If
                      some components of x are bounded from below, set the
                      other (unconstrained) values of ci to a very  large
                      negative  number (e.g. ci(j) = -(% eps)^(-1).
                      
           cs         : (column) vector of upper-bounds. (Same remarks as
                      above).
                      
           mi         : number of equality constraints (i.e. C(1:mi,:)*x =
                      b(1:mi))
                      
DESCRIPTION
   mps2linpro forms Linear programing data compatible with linpro out of MPS
  data format.
  
SEE ALSO
   linpro, readmps