#include <ctime>
#include <limits>
#include "Array.h"
#include "chMatrix.h"
#include "dColVector.h"
#include "dMatrix.h"
#include "dSparse.h"
#include "lo-ieee.h"
#include "defun-dld.h"
#include "error.h"
#include "errwarn.h"
#include "oct-map.h"
#include "ov.h"
#include "ovl.h"
#include <glpk.h>
Go to the source code of this file.
Classes | |
struct | control_params |
Macros | |
#define | OCTAVE_GLPK_GET_INT_PARAM(NAME, VAL) |
#define | OCTAVE_GLPK_GET_REAL_PARAM(NAME, VAL) |
Functions | |
OCTAVE_EXPORT octave_value_list | F__glpk__ (const octave_value_list &, int) |
C OCTAVE_EXPORT octave_function * | G__glpk__ (const octave::dynamic_library &shl, bool relative) |
static int | glpk (int sense, int n, int m, double *c, int nz, int *rn, int *cn, double *a, double *b, char *ctype, int *freeLB, double *lb, int *freeUB, double *ub, int *vartype, int isMIP, int lpsolver, int save_pb, int scale, const control_params &par, double *xmin, double &fmin, int &status, double *lambda, double *redcosts, double &time) |
#define OCTAVE_GLPK_GET_INT_PARAM | ( | NAME, | |
VAL | |||
) |
Definition at line 327 of file __glpk__.cc.
#define OCTAVE_GLPK_GET_REAL_PARAM | ( | NAME, | |
VAL | |||
) |
OCTAVE_EXPORT octave_value_list F__glpk__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 346 of file __glpk__.cc.
References A, octave_scalar_map::assign(), B, control_params::branch, control_params::btrack, C, control_params::dual, err_disabled_feature(), error(), Array< T, Alloc >::fortran_vec(), glpk(), Inf, isinf(), control_params::itlim, max(), control_params::msglev, Array< T, Alloc >::numel(), control_params::objll, control_params::objul, OCTAVE_GLPK_GET_INT_PARAM, OCTAVE_GLPK_GET_REAL_PARAM, octave_NA, control_params::outdly, control_params::outfrq, ovl(), control_params::presol, control_params::price, print_usage(), Array< T, Alloc >::resize(), ColumnVector::resize(), control_params::rtest, scale(), control_params::tmlim, control_params::tolbnd, control_params::toldj, control_params::tolint, control_params::tolobj, control_params::tolpiv, and xmin().
C OCTAVE_EXPORT octave_function* G__glpk__ | ( | const octave::dynamic_library & | shl, |
bool | relative | ||
) |
Definition at line 346 of file __glpk__.cc.
|
static |
Definition at line 82 of file __glpk__.cc.
References control_params::branch, control_params::btrack, control_params::dual, error(), control_params::itlim, m, control_params::msglev, n, control_params::objll, control_params::objul, control_params::outdly, control_params::outfrq, control_params::presol, control_params::price, control_params::rtest, scale(), control_params::tmlim, control_params::tolbnd, control_params::toldj, control_params::tolint, control_params::tolobj, control_params::tolpiv, and xmin().
Referenced by F__glpk__().