GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cfloat>
#include <csetjmp>
#include <ctime>
#include "lo-ieee.h"
#include "defun-dld.h"
#include "error.h"
#include "gripes.h"
#include "oct-map.h"
#include "oct-obj.h"
#include "pager.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 | |
DEFUN_DLD (__glpk__, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {[@var{values}] =} __glpk__ (@var{args})\n\ Undocumented internal function.\n\ @end deftypefn") | |
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) |
Variables | |
static jmp_buf | mark |
#define OCTAVE_GLPK_GET_INT_PARAM | ( | NAME, | |
VAL | |||
) |
Definition at line 328 of file __glpk__.cc.
Referenced by DEFUN_DLD().
#define OCTAVE_GLPK_GET_REAL_PARAM | ( | NAME, | |
VAL | |||
) |
Definition at line 302 of file __glpk__.cc.
Referenced by DEFUN_DLD().
DEFUN_DLD | ( | __glpk__ | , |
args | |||
) |
Definition at line 354 of file __glpk__.cc.
References A, octave_scalar_map::assign(), B, control_params::branch, control_params::btrack, C, Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), control_params::dual, error(), error_state, Array< T >::fortran_vec(), glpk(), gripe_not_supported(), control_params::itlim, octave_value_list::length(), Array< T >::length(), mark, max(), control_params::msglev, Sparse< T >::nnz(), control_params::objll, control_params::objul, OCTAVE_GLPK_GET_INT_PARAM, OCTAVE_GLPK_GET_REAL_PARAM, octave_Inf, octave_NA, control_params::outdly, control_params::outfrq, control_params::presol, control_params::price, print_usage(), ColumnVector::resize(), Array< T >::resize(), Sparse< T >::ridx(), Sparse< T >::rows(), Array< T >::rows(), control_params::rtest, scale(), control_params::tmlim, control_params::tolbnd, control_params::toldj, control_params::tolint, control_params::tolobj, control_params::tolpiv, xisinf(), and xmin().
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 | ||
) |
Definition at line 77 of file __glpk__.cc.
References control_params::branch, control_params::btrack, control_params::dual, error(), control_params::itlim, mark, control_params::msglev, control_params::objll, control_params::objul, control_params::outdly, control_params::outfrq, control_params::presol, control_params::price, control_params::rtest, control_params::tmlim, control_params::tolbnd, control_params::toldj, control_params::tolint, control_params::tolobj, and control_params::tolpiv.
Referenced by DEFUN_DLD().
|
static |
Definition at line 74 of file __glpk__.cc.
Referenced by cntr(), DEFUN_DLD(), drawcn(), glpk(), and mark_facets().