QSopt 0.5 Alpha
All Rights Reserved

Uses of Class
qs.QSException

Uses of QSException in qs
 

Methods in qs that throw QSException
 void Problem.write_lp(java.lang.String filename)
          write the problem in LP format to a named file, see QSwrite_prob
 void Problem.write(java.lang.String filename, boolean isMps)
          write the problem in LP or MPS format to a named file, see QSwrite_prob
 void Problem.write(Reporter rep, boolean isMps)
          write the problem to Reporter's stream see QSwrite_prob
 void Problem.write_basis(java.lang.String filename)
          write a basis to a file, see QSwrite_basis
 void Problem.opt_primal()
          solve the LP problem with the primal simplex algorithm; see QSopt_primal
 void Problem.opt_dual()
          solve the LP problem with the dual simplex algorithm; see QSopt_dual
 void Problem.add_cols(int num, int[] cmatcnt, int[] cmatbeg, int[] cmatind, double[] cmatval, double[] obj, double[] lower, double[] upper, java.lang.String[] names)
          add a set of columns (variables) to the problem; see QSadd_cols
 void Problem.new_row(double rhs, char sense, java.lang.String name)
          create a new empty row (constraint) in the problem; see QSnew_row
 void Problem.add_rows(int num, int[] rmatcnt, int[] rmatbeg, int[] rmatind, double[] rmatval, double[] rhs, char[] sense, java.lang.String[] names)
          add a set of rows to the problem; see QSadd_rows
 void Problem.delete_rows(int num, int[] dellist)
          delete a set of rows from the problem; see QSdelete_rows
 void Problem.delete_setrows(int[] flags)
          delete a set of rows specified by flags; see QSdelete_setrows
 void Problem.delete_cols(int num, int[] dellist)
          delete a set of columns from the problem; see QSdelete_cols
 void Problem.change_sense(int num, int[] rowlist, char[] sense)
          change the sense of a set of constraints; see QSchange_senses
 void Problem.change_bounds(int num, int[] collist, char[] lu, double[] bounds)
          change the lower or upper bounds for a set of variables; see QSchange_bounds
 void Problem.load_basis(Basis B)
          load a basis stored in a basis structure; see QSload_basis
 void Problem.load_basis_array(char[] cstat, char[] rstat)
          copy the current basis into arrays; see QSload_basis_array
 void Problem.load_basis_and_row_norms_array(char[] cstat, char[] rstat, double[] rownorms)
          copy the basis and row norms; see QSload_basis_and_row_norms_array
 void Problem.get_basis_array(char[] cstat, char[] rstat)
          copy the current basis into arrays; see QSget_basis_array
 void Problem.get_basis_and_row_norms_array(char[] cstat, char[] rstat, double[] rownorms)
          copy the basis and row norms; see QSget_basis_and_row_norms_array
 void Problem.compute_row_norms()
          compute_row_norms; see QScompute_row_norms
 double Problem.get_solution(double[] x, double[] pi, double[] slack, double[] rc)
          copy various solution data into arrays; see QSget_solution
 double Problem.get_objval()
          get the current objective function value; see QSget_objval
 java.lang.String Problem.get_objname()
          copy the objective name; see QSget_objname
 void Problem.get_x_array(double[] x)
          copy the solution vector into an array; see QSget_x_array
 void Problem.get_slack_array(double[] slack)
          copy the constraint slack values into an array; see QSget_slack_array
 void Problem.get_rc_array(double[] rc)
          copy the constraint reduced cost values into an array; see QSget_rc_array
 void Problem.get_pi_array(double[] pi)
          copy the values of the dual variables into an array; see QSget_pi_array
 void Problem.get_obj(double[] obj)
          copy the objective function coefficients into an array.
 void Problem.get_rownames(java.lang.String[] rownames)
          copy the names of the rows in the problem, see QSget_rownames
 int Problem.print_x(Reporter r, boolean nonZerosOnly, int precision)
          print the values of the Problem's variables to the Reporter's stream
 int Problem.print_rc(Reporter r, boolean nonZerosOnly, int precision)
          print the reduced cost values of the Problem's variables to the Reporter's stream
 int Problem.print_pi(Reporter r, boolean nonZerosOnly, int precision)
          print the values of the Problem's dual variables to the Reporter's stream
 int Problem.print_slack(Reporter r, boolean nonZerosOnly, int precision)
          print the slack values of the Problem's constraints to the Reporter's stream
 void Problem.setparam(int whichparam, int newvalue)
          set the value of a specified parameter, see QSset_param
 int Problem.getparam(int whichparam)
          obtain the value of a specified parameter; see QSget_param
 

Constructors in qs that throw QSException
Basis(Problem p, java.lang.String fname)
          Read a basis from a file; see QSread_basis
Problem(java.lang.String probname, int ncols, int nrows, int[] cmatcnt, int[] cmatbeg, int[] cmatind, double[] cmatval, int objsense, double[] obj, double[] rhs, char[] sense, double[] lower, double[] upper, java.lang.String[] colnames, java.lang.String[] rownames)
          create a Problem; see QSload_prob
 


QSopt 0.5 Alpha
QSopt Home