blob: 5b9070321a89e5fee999d6610a858aecb75ff10c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
// This file is released under the 3-clause BSD license. See COPYING-BSD.
// Generated by builder.sce : Please, do not edit this file
// ----------------------------------------------------------------------------
//
libFOSSEE_Optimizat_path = get_absolute_file_path('loader.sce');
//
// ulink previous function with same name
[bOK, ilib] = c_link('libFOSSEE_Optimization_Toolbox');
if bOK then
ulink(ilib);
end
//
list_functions = [ 'sym_open';
'sym_close';
'sym_isEnvActive';
'sym_resetParams';
'sym_setIntParam';
'sym_getIntParam';
'sym_setDblParam';
'sym_getDblParam';
'sym_setStrParam';
'sym_getStrParam';
'sym_getInfinity';
'sym_loadProblemBasic';
'sym_loadProblem';
'sym_loadMPS';
'sym_getNumConstr';
'sym_getNumVar';
'sym_getNumElements';
'sym_isContinuous';
'sym_isBinary';
'sym_isInteger';
'sym_setContinuous';
'sym_setInteger';
'sym_getVarLower';
'sym_getVarUpper';
'sym_setVarLower';
'sym_setVarUpper';
'sym_getObjCoeff';
'sym_setObjCoeff';
'sym_getObjSense';
'sym_setObjSense';
'sym_getRhs';
'sym_getConstrRange';
'sym_getConstrLower';
'sym_getConstrUpper';
'sym_setConstrLower';
'sym_setConstrUpper';
'sym_setConstrType';
'sym_getMatrix';
'sym_addConstr';
'sym_addVar';
'sym_deleteVars';
'sym_deleteConstrs';
'sym_getPrimalBound';
'sym_setPrimalBound';
'sym_setVarSoln';
'sym_solve';
'sym_getStatus';
'sym_isOptimal';
'sym_isInfeasible';
'sym_isAbandoned';
'sym_isIterLimitReached';
'sym_isTimeLimitReached';
'sym_isTargetGapAchieved';
'sym_getVarSoln';
'sym_getObjVal';
'sym_getIterCount';
'sym_getConstrActivity';
'linearprog';
'rmps';
'solveqp';
'solveminuncp';
'solveminbndp';
'solveminconp';
'inter_fminunc';
'inter_fminbnd';
'inter_fmincon';
'sci_intqpipopt';
'sci_matrix_intlinprog';
'sci_mps_intlinprog';
'solveecos';
];
addinter(libFOSSEE_Optimizat_path + filesep() + 'libFOSSEE_Optimization_Toolbox' + getdynlibext(), 'libFOSSEE_Optimization_Toolbox', list_functions);
// remove temp. variables on stack
clear libFOSSEE_Optimizat_path;
clear bOK;
clear ilib;
clear list_functions;
// ----------------------------------------------------------------------------
|