#include <iostream>
#include <string>
#include "mex.h"
#include "matrix.h"
#include "OSDataStructures.h"
#include "OSMatlabSolver.h"
Go to the source code of this file.
Macros | |
#define | IsNonZero(d) ((d)!=0.0) |
Functions | |
void | mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) |
SparseMatrix * | getConstraintMatrix (const mxArray *prhs) |
#define IsNonZero | ( | d | ) | ((d)!=0.0) |
Definition at line 27 of file OSMatlabSolverMex.cpp.
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.