#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.
◆ OCTAVE_GLPK_GET_INT_PARAM
#define OCTAVE_GLPK_GET_INT_PARAM |
( |
|
NAME, |
|
|
|
VAL |
|
) |
| |
Value: do \
{ \
octave_value tmp = PARAM.getfield (
NAME); \
\
if (tmp.is_defined ()) \
{ \
if (! tmp.isempty ()) \
VAL = tmp.xint_value (
"glpk: invalid value in PARAM" NAME);
\
error (
"glpk: invalid value in PARAM" NAME); \
} \
} \
while (0)
void() error(const char *fmt,...)
Definition at line 327 of file __glpk__.cc.
◆ OCTAVE_GLPK_GET_REAL_PARAM
#define OCTAVE_GLPK_GET_REAL_PARAM |
( |
|
NAME, |
|
|
|
VAL |
|
) |
| |
Value: do \
{ \
octave_value tmp = PARAM.getfield (
NAME); \
\
if (tmp.is_defined ()) \
{ \
if (! tmp.isempty ()) \
VAL = tmp.xscalar_value (
"glpk: invalid value in PARAM" NAME);
\
error (
"glpk: invalid value in PARAM" NAME); \
} \
} \
while (0)
Definition at line 312 of file __glpk__.cc.
◆ F__glpk__()
Definition at line 346 of file __glpk__.cc.
References A, B, C, error(), Array< T, Alloc >::fortran_vec(), Inf, isinf(), max(), Array< T, Alloc >::numel(), OCTAVE_GLPK_GET_INT_PARAM, OCTAVE_GLPK_GET_REAL_PARAM, octave_NA, print_usage(), Array< T, Alloc >::resize(), ColumnVector::resize(), scale(), and xmin().
◆ G__glpk__()
C octave_function* G__glpk__ |
( |
const octave::dynamic_library & |
shl, |
|
|
bool |
relative |
|
) |
| |