/home/coin/svn-release/OS-2.4.3/OS/applications/matlab/OSMatlabSolverMex.cpp File Reference

#include <iostream>
#include <string>
#include "mex.h"
#include "matrix.h"
#include "OSDataStructures.h"
#include "OSMatlabSolver.h"
Include dependency graph for OSMatlabSolverMex.cpp:

Go to the source code of this file.

Defines

#define IsNonZero(d)   ((d)!=0.0)

Functions

void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
SparseMatrixgetConstraintMatrix (const mxArray *prhs)

Define Documentation

#define IsNonZero (  )     ((d)!=0.0)

Definition at line 27 of file OSMatlabSolverMex.cpp.


Function Documentation

void mexFunction ( int  nlhs,
mxArray *  plhs[],
int  nrhs,
const mxArray *  prhs[] 
)

The parameters are: A -- the constraint matrix BU -- upper bounds on the constraints BL -- lower bounds on the constraints C -- objective function vector VL -- lower bounds on the variables VU -- upper bounds on the variables ObjType -- 1 for max, 0 for min

Definition at line 35 of file OSMatlabSolverMex.cpp.

SparseMatrix* getConstraintMatrix ( const mxArray *  prhs  ) 

Definition at line 230 of file OSMatlabSolverMex.cpp.


Generated on 16 Feb 2012 by  doxygen 1.6.1