Navigation

Operators and Keywords

Function List:

C++ API

__glpk__.cc File Reference

#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 dependency graph for __glpk__.cc:

Defines

#define OCTAVE_GLPK_GET_REAL_PARAM(NAME, IDX)
#define OCTAVE_GLPK_GET_INT_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")

Define Documentation

#define OCTAVE_GLPK_GET_INT_PARAM (   NAME,
  VAL 
)
Value:
do \
    { \
      octave_value tmp = PARAM.getfield (NAME); \
 \
      if (tmp.is_defined ()) \
        { \
          if (! tmp.is_empty ()) \
            { \
              VAL = tmp.int_value (); \
 \
              if (error_state) \
                { \
                  error ("glpk: invalid value in PARAM." NAME); \
                  return retval; \
                } \
            } \
          else \
            { \
              error ("glpk: invalid value in PARAM." NAME); \
              return retval; \
            } \
        } \
    } \
  while (0)
#define OCTAVE_GLPK_GET_REAL_PARAM (   NAME,
  IDX 
)
Value:
do \
    { \
      octave_value tmp = PARAM.getfield (NAME); \
 \
      if (tmp.is_defined ()) \
        { \
          if (! tmp.is_empty ()) \
            { \
              lpxRealParam[IDX] = tmp.scalar_value (); \
 \
              if (error_state) \
                { \
                  error ("glpk: invalid value in PARAM." NAME); \
                  return retval; \
                } \
            } \
          else \
            { \
              error ("glpk: invalid value in PARAM." NAME); \
              return retval; \
            } \
        } \
    } \
  while (0)

Function Documentation

DEFUN_DLD ( __glpk__  ,
args   
)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines