00001 /* OOQP * 00002 * Authors: E. Michael Gertz, Stephen J. Wright * 00003 * (C) 2001 University of Chicago. See Copyright Notification in OOQP */ 00004 00005 #ifndef QPEXAMPLEDENSE_H 00006 #define QPEXAMPLEDENSE_H 00007 00008 #include "ProblemFormulation.h" 00009 class LinearAlgebraPackage; 00010 00026 class QpExampleDense : public ProblemFormulation { 00027 protected: 00028 00030 int mNx; 00031 00033 int mMy; 00034 00036 int mMz; 00037 00038 LinearAlgebraPackage * la; 00039 public: 00040 QpExampleDense( int nx, int my, int mz ); 00041 00042 virtual Data * makeData(); 00043 virtual Data * makeRandomData(); 00044 virtual Residuals * makeResiduals(Data * prob_in); 00045 virtual Variables * makeVariables(Data * prob_in ); 00046 virtual LinearSystem * makeLinsys( Data * prob_in ); 00047 }; 00048 00049 #endif