  
 Hi All,

  I want to read MPS format file using this file.
  I am able to read cofficient of objective function,number of columns, number of rows etc. 
  But not able to read constraint matrix & its rhs values.
  Could anyone please help in this?
  
  is there any good documentation available other than glpk.pdf & glpk_intro.pdf?

 My program is as follows--

  p<-lpx_read_mps("c:/ex2.mps")

  numrows<-lpx_get_num_rows(lp)
  numcols<-lpx_get_num_cols(lp)
  numnz<-lpx_get_num_nz(lp)
  
  print("objective function coefficient")
  for (j in 1:numcols) {
  print(lpx_get_obj_coef(lp, j))
  }

  print("rows names")

  for (i in 1:numrows) {
  print(lpx_get_row_name(lp, i))
  print(lpx_get_row_prim(lp, i)) # for this it is returning me zeros only
  }
  
  print("columns Names")

  for (j in 1:numcols) {
  print(lpx_get_col_name(lp, j))
  print(lpx_get_col_prim(lp, j))

  }
   
  Could anyone help me out?

  Thanks in advance,
  Ujjwal
  
	[[alternative HTML version deleted]]

