Hierarchy
⤷
⤷
Properties
| Class | CL_GENIOS_MODEL | |
| Short Description | GENIOS: model | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GENIOS_MODEL | GENIOS: model |
| Created | 20081212 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_GENIOS_MODEL has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_GENIOS_CONNECTOR | 20091203 | GENIOS: abstract connector | |
| 2 | CL_GENIOS_ENVIRONMENT | 20081212 | GENIOS: Environment | |
| 3 | CL_GENIOS_SOLVER | 20090126 | GENIOS: main solver |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GENIOS_OBJECTIVE | GENIOS: objective | 20081212 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GENIOS_SOLVER | GENIOS: main solver | 20090126 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | GENIOST_INDICATORCONSTRAINT | GENIOS: table of indicator constraints | 20081212 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | GENIOST_LINEARCONSTRAINT | GENIOS: table of linear constraint | 20081212 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | GENIOST_VARIABLE | GENIOS: table of variables | 20081212 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | GENIOS_NAME | GENIOS: name of an element | 20081212 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Check the current solution in the model | 20090625 | |
| 2 | Instance method | Private | Constructor | CONSTRUCTOR | 20081212 | |
| 3 | Instance method | Private | Method | Create a GENIOS::object | 20090129 | |
| 4 | Instance method | Public | Method | Create a new indicator constraint | 20081212 | |
| 5 | Instance method | Public | Method | Create a new linear constraint | 20081212 | |
| 6 | Instance method | Public | Method | Create a new objective function | 20081212 | |
| 7 | Instance method | Public | Method | Create a new variable | 20081212 | |
| 8 | Instance method | Public | Method | Destroy a GENIOS::object | 20090128 | |
| 9 | Instance method | Public | Method | Destroy an indicator constraint | 20090128 | |
| 10 | Instance method | Public | Method | Destroy a linear constraint | 20090128 | |
| 11 | Instance method | Public | Method | Destroy the objective function | 20090128 | |
| 12 | Instance method | Public | Method | Destroy a created variable | 20090128 | |
| 13 | Static method | Public | Method | check if two float values are equal | 20090625 | |
| 14 | Instance method | Public | Method | Get all indicator constraints | 20081212 | |
| 15 | Instance method | Public | Method | Get all linear constraints | 20081212 | |
| 16 | Instance method | Public | Method | Get the current index | 20081223 | |
| 17 | Instance method | Public | Method | Get the objective function | 20081212 | |
| 18 | Instance method | Protected | Method | Get the solver the model is loaded in | 20090126 | |
| 19 | Instance method | Public | Method | Get all variables | 20081212 | |
| 20 | Instance method | Private | Method | Internal Create of IndicatorConstraints | 20091203 | |
| 21 | Instance method | Private | Method | Internal Create of LinearConstraints | 20091203 | |
| 22 | Instance method | Private | Method | Internal Create of the Objective Function | 20091203 | |
| 23 | Instance method | Private | Method | Internal Create of Variables | 20091203 | |
| 24 | Instance method | Protected | Method | Set the solver the model is loaded in | 20090126 |
Events
Class CL_GENIOS_MODEL has no event.
Types
Class CL_GENIOS_MODEL has no local type.
Method Signatures
Method CHECK_CURRENT_SOLUTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DEBUG_OUTPUT | Call by reference | Type reference (TYPE) | GENIOS_BOOL | GENIO_FALSE | GENIOS: bool variable | 20091006 | ||
| 2 | RV_VALID | Value transfer | Type reference (TYPE) | GENIOS_BOOL | GENIOS: bool variable | 20090625 |
Method CHECK_CURRENT_SOLUTION on class CL_GENIOS_MODEL has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENVIRONMENT | Call by reference | Object reference (TYPE REF TO) | CL_GENIOS_ENVIRONMENT | GENIOS: Environment | 20090129 | |||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | GENIOS_NAME | GENIOS: name of an element | 20081212 |
Method CONSTRUCTOR on class CL_GENIOS_MODEL has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_OBJECT | Call by reference | Type reference (TYPE) | ANY | GENIOS: main object class | 20090129 |
Method CREATE on class CL_GENIOS_MODEL has no exception.
Method CREATE_INDICATORCONSTRAINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_INDICATORVARIABLE | Call by reference | Object reference (TYPE REF TO) | CL_GENIOS_VARIABLE | GENIOS: variable | 20090108 | |||
| 2 | IV_ISCOMPLEMENTARY | Call by reference | Type reference (TYPE) | GENIOS_BOOL | GENIO_FALSE | GENIOS: bool variable | 20090108 | ||
| 3 | IV_NAME | Call by reference | Type reference (TYPE) | GENIOS_NAME | GENIOS: name of an element | 20090108 | |||
| 4 | IV_RIGHTHANDSIDE | Call by reference | Type reference (TYPE) | GENIOS_FLOAT | 0 | GENIOS: float element | 20090108 | ||
| 5 | IV_TYPE | Call by reference | Type reference (TYPE) | GENIOS_CONSTRAINTTYPE | IF_GENIOS_MODEL_C=>GC_CON_LESSOREQUAL | GENIOS: type of a constraint | 20090108 | ||
| 6 | RO_INDICATORCONSTRAINT | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_INDICATORCONSTRAINT | GENIOS: indicator constraint | 20090108 |
Method CREATE_INDICATORCONSTRAINT on class CL_GENIOS_MODEL has no exception.
Method CREATE_LINEARCONSTRAINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | GENIOS_NAME | GENIOS: name of an element | 20081212 | |||
| 2 | IV_RIGHTHANDSIDE | Call by reference | Type reference (TYPE) | GENIOS_FLOAT | 0 | GENIOS: float element | 20081212 | ||
| 3 | IV_TYPE | Call by reference | Type reference (TYPE) | GENIOS_CONSTRAINTTYPE | IF_GENIOS_MODEL_C=>GC_CON_LESSOREQUAL | GENIOS: type of a constraint | 20081212 | ||
| 4 | RO_LINEARCONSTRAINT | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_LINEARCONSTRAINT | GENIOS: linear constraint | 20081212 |
Method CREATE_LINEARCONSTRAINT on class CL_GENIOS_MODEL has no exception.
Method CREATE_OBJECTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | GENIOS_NAME | GENIOS: name of an element | 20090622 | |||
| 2 | IV_TYPE | Call by reference | Type reference (TYPE) | GENIOS_OBJECTIVETYPE | IF_GENIOS_MODEL_C=>GC_OBJ_MINIMIZATION | GENIOS: type of the objective function | 20081212 | ||
| 3 | RO_OBJECTIVE | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_OBJECTIVE | GENIOS: objective | 20081212 |
Method CREATE_OBJECTIVE on class CL_GENIOS_MODEL has no exception.
Method CREATE_VARIABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LOWERBOUND | Call by reference | Type reference (TYPE) | GENIOS_FLOAT | 0 | GENIOS: float element | 20081212 | ||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | GENIOS_NAME | GENIOS: name of an element | 20081212 | |||
| 3 | IV_TYPE | Call by reference | Type reference (TYPE) | GENIOS_VARIABLETYPE | IF_GENIOS_MODEL_C=>GC_VAR_CONTINUOUS | GENIOS: domain type of a variable | 20081212 | ||
| 4 | IV_UPPERBOUND | Call by reference | Type reference (TYPE) | GENIOS_FLOAT | GENIOS: float element | 20081212 | |||
| 5 | RO_VARIABLE | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_VARIABLE | GENIOS: variable | 20081212 |
Method CREATE_VARIABLE on class CL_GENIOS_MODEL has no exception.
Method DESTROY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_OBJECT | Call by reference | Type reference (TYPE) | ANY | GENIOS: main object class | 20090128 |
Method DESTROY on class CL_GENIOS_MODEL has no exception.
Method DESTROY_INDICATORCONSTRAINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_INDICATORCONSTRAINT | Call by reference | Object reference (TYPE REF TO) | CL_GENIOS_INDICATORCONSTRAINT | GENIOS: indicator constraint | 20090128 |
Method DESTROY_INDICATORCONSTRAINT on class CL_GENIOS_MODEL has no exception.
Method DESTROY_LINEARCONSTRAINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_LINEARCONSTRAINT | Call by reference | Object reference (TYPE REF TO) | CL_GENIOS_LINEARCONSTRAINT | GENIOS: linear constraint | 20090128 |
Method DESTROY_LINEARCONSTRAINT on class CL_GENIOS_MODEL has no exception.
Method DESTROY_OBJECTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_OBJECTIVE | Call by reference | Object reference (TYPE REF TO) | CL_GENIOS_OBJECTIVE | GENIOS: objective | 20090128 |
Method DESTROY_OBJECTIVE on class CL_GENIOS_MODEL has no exception.
Method DESTROY_VARIABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_VARIABLE | Call by reference | Object reference (TYPE REF TO) | CL_GENIOS_VARIABLE | GENIOS: variable | 20090128 |
Method DESTROY_VARIABLE on class CL_GENIOS_MODEL has no exception.
Method GENIOS_FLOAT_EQUAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | NUMERIC | 20090625 | ||||
| 2 | IV_EXP | Call by reference | Type reference (TYPE) | NUMERIC | 20090625 | ||||
| 3 | RV_EQUAL | Value transfer | Type reference (TYPE) | GENIOS_BOOL | GENIOS: bool variable | 20090625 |
Method GENIOS_FLOAT_EQUAL on class CL_GENIOS_MODEL has no exception.
Method GET_INDICATORCONSTRAINTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_INDICATORCONSTRAINTS | Value transfer | Type reference (TYPE) | GENIOST_INDICATORCONSTRAINT | GENIOS: table of indicator constraints | 20081212 |
Method GET_INDICATORCONSTRAINTS on class CL_GENIOS_MODEL has no exception.
Method GET_LINEARCONSTRAINTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_LINEARCONSTRAINTS | Value transfer | Type reference (TYPE) | GENIOST_LINEARCONSTRAINT | GENIOS: table of linear constraint | 20081212 |
Method GET_LINEARCONSTRAINTS on class CL_GENIOS_MODEL has no exception.
Method GET_MAX_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_INDEX | Value transfer | Type reference (TYPE) | GENIOS_INDEX | GENIOS: Index | 20081223 |
Method GET_MAX_INDEX on class CL_GENIOS_MODEL has no exception.
Method GET_OBJECTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_OBJECTIVE | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_OBJECTIVE | GENIOS: objective | 20081212 |
Method GET_OBJECTIVE on class CL_GENIOS_MODEL has no exception.
Method GET_SOLVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_SOLVER | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_SOLVER | GENIOS: main solver | 20090126 |
Method GET_SOLVER on class CL_GENIOS_MODEL has no exception.
Method GET_VARIABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TYPE | Call by reference | Type reference (TYPE) | GENIOS_VARIABLETYPE | GENIOS: domain type of a variable | 20090618 | |||
| 2 | RT_VARIABLES | Value transfer | Type reference (TYPE) | GENIOST_VARIABLE | GENIOS: table of variables | 20081212 |
Method GET_VARIABLES on class CL_GENIOS_MODEL has no exception.
Method INT_CREATE_INDICATORCONSTRAINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_INDICATORVARIABLE | Call by reference | Object reference (TYPE REF TO) | CL_GENIOS_VARIABLE | GENIOS: variable | 20091203 | |||
| 2 | IS_DETAILS | Call by reference | Type reference (TYPE) | GENIOSS_INDCONSTRAINT_DETAILS | GENIOS: Detail Information for Indicator Constraint | 20091203 | |||
| 3 | RO_INDICATORCONSTRAINT | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_INDICATORCONSTRAINT | GENIOS: indicator constraint | 20091203 |
Method INT_CREATE_INDICATORCONSTRAINT on class CL_GENIOS_MODEL has no exception.
Method INT_CREATE_LINEARCONSTRAINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DETAILS | Call by reference | Type reference (TYPE) | GENIOSS_LINCONSTRAINT_DETAILS | GENIOS: Detail Information for Linear Constraint | 20091203 | |||
| 2 | RO_LINEARCONSTRAINT | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_LINEARCONSTRAINT | GENIOS: linear constraint | 20091203 |
Method INT_CREATE_LINEARCONSTRAINT on class CL_GENIOS_MODEL has no exception.
Method INT_CREATE_OBJECTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DETAILS | Call by reference | Type reference (TYPE) | GENIOSS_OBJECTIVE_DETAILS | GENIOS: Detail Information for Objectiv | 20091203 | |||
| 2 | RO_OBJECTIVE | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_OBJECTIVE | GENIOS: objective | 20091203 |
Method INT_CREATE_OBJECTIVE on class CL_GENIOS_MODEL has no exception.
Method INT_CREATE_VARIABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DETAILS | Call by reference | Type reference (TYPE) | GENIOSS_VARIABLE_DETAILS | GENIOS: Detailed Information for a Variable | 20091203 | |||
| 2 | RO_VARIABLE | Value transfer | Object reference (TYPE REF TO) | CL_GENIOS_VARIABLE | GENIOS: variable | 20091203 |
Method INT_CREATE_VARIABLE on class CL_GENIOS_MODEL has no exception.
Method SET_SOLVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_SOLVER | Call by reference | Object reference (TYPE REF TO) | CL_GENIOS_SOLVER | GENIOS: main solver | 20090126 |
Method SET_SOLVER on class CL_GENIOS_MODEL has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |