1
2
3
4
5
6
7
8
9 package org.gnu.glpk;
10
11
12
13
14
15
16
17
18
19 public class glp_iocp {
20 private transient long swigCPtr;
21 protected transient boolean swigCMemOwn;
22
23 protected glp_iocp(long cPtr, boolean cMemoryOwn) {
24 swigCMemOwn = cMemoryOwn;
25 swigCPtr = cPtr;
26 }
27
28 protected static long getCPtr(glp_iocp obj) {
29 return (obj == null) ? 0 : obj.swigCPtr;
30 }
31
32 protected void finalize() {
33 delete();
34 }
35
36 public synchronized void delete() {
37 if (swigCPtr != 0) {
38 if (swigCMemOwn) {
39 swigCMemOwn = false;
40 GLPKJNI.delete_glp_iocp(swigCPtr);
41 }
42 swigCPtr = 0;
43 }
44 }
45
46 public void setMsg_lev(int value) {
47 GLPKJNI.glp_iocp_msg_lev_set(swigCPtr, this, value);
48 }
49
50 public int getMsg_lev() {
51 return GLPKJNI.glp_iocp_msg_lev_get(swigCPtr, this);
52 }
53
54 public void setBr_tech(int value) {
55 GLPKJNI.glp_iocp_br_tech_set(swigCPtr, this, value);
56 }
57
58 public int getBr_tech() {
59 return GLPKJNI.glp_iocp_br_tech_get(swigCPtr, this);
60 }
61
62 public void setBt_tech(int value) {
63 GLPKJNI.glp_iocp_bt_tech_set(swigCPtr, this, value);
64 }
65
66 public int getBt_tech() {
67 return GLPKJNI.glp_iocp_bt_tech_get(swigCPtr, this);
68 }
69
70 public void setTol_int(double value) {
71 GLPKJNI.glp_iocp_tol_int_set(swigCPtr, this, value);
72 }
73
74 public double getTol_int() {
75 return GLPKJNI.glp_iocp_tol_int_get(swigCPtr, this);
76 }
77
78 public void setTol_obj(double value) {
79 GLPKJNI.glp_iocp_tol_obj_set(swigCPtr, this, value);
80 }
81
82 public double getTol_obj() {
83 return GLPKJNI.glp_iocp_tol_obj_get(swigCPtr, this);
84 }
85
86 public void setTm_lim(int value) {
87 GLPKJNI.glp_iocp_tm_lim_set(swigCPtr, this, value);
88 }
89
90 public int getTm_lim() {
91 return GLPKJNI.glp_iocp_tm_lim_get(swigCPtr, this);
92 }
93
94 public void setOut_frq(int value) {
95 GLPKJNI.glp_iocp_out_frq_set(swigCPtr, this, value);
96 }
97
98 public int getOut_frq() {
99 return GLPKJNI.glp_iocp_out_frq_get(swigCPtr, this);
100 }
101
102 public void setOut_dly(int value) {
103 GLPKJNI.glp_iocp_out_dly_set(swigCPtr, this, value);
104 }
105
106 public int getOut_dly() {
107 return GLPKJNI.glp_iocp_out_dly_get(swigCPtr, this);
108 }
109
110 public void setCb_func(SWIGTYPE_p_f_p_struct_glp_tree_p_void__void value) {
111 GLPKJNI.glp_iocp_cb_func_set(swigCPtr, this, SWIGTYPE_p_f_p_struct_glp_tree_p_void__void.getCPtr(value));
112 }
113
114 public SWIGTYPE_p_f_p_struct_glp_tree_p_void__void getCb_func() {
115 long cPtr = GLPKJNI.glp_iocp_cb_func_get(swigCPtr, this);
116 return (cPtr == 0) ? null : new SWIGTYPE_p_f_p_struct_glp_tree_p_void__void(cPtr, false);
117 }
118
119 public void setCb_info(SWIGTYPE_p_void value) {
120 GLPKJNI.glp_iocp_cb_info_set(swigCPtr, this, SWIGTYPE_p_void.getCPtr(value));
121 }
122
123 public SWIGTYPE_p_void getCb_info() {
124 long cPtr = GLPKJNI.glp_iocp_cb_info_get(swigCPtr, this);
125 return (cPtr == 0) ? null : new SWIGTYPE_p_void(cPtr, false);
126 }
127
128 public void setCb_size(int value) {
129 GLPKJNI.glp_iocp_cb_size_set(swigCPtr, this, value);
130 }
131
132 public int getCb_size() {
133 return GLPKJNI.glp_iocp_cb_size_get(swigCPtr, this);
134 }
135
136 public void setPp_tech(int value) {
137 GLPKJNI.glp_iocp_pp_tech_set(swigCPtr, this, value);
138 }
139
140 public int getPp_tech() {
141 return GLPKJNI.glp_iocp_pp_tech_get(swigCPtr, this);
142 }
143
144 public void setMip_gap(double value) {
145 GLPKJNI.glp_iocp_mip_gap_set(swigCPtr, this, value);
146 }
147
148 public double getMip_gap() {
149 return GLPKJNI.glp_iocp_mip_gap_get(swigCPtr, this);
150 }
151
152 public void setMir_cuts(int value) {
153 GLPKJNI.glp_iocp_mir_cuts_set(swigCPtr, this, value);
154 }
155
156 public int getMir_cuts() {
157 return GLPKJNI.glp_iocp_mir_cuts_get(swigCPtr, this);
158 }
159
160 public void setGmi_cuts(int value) {
161 GLPKJNI.glp_iocp_gmi_cuts_set(swigCPtr, this, value);
162 }
163
164 public int getGmi_cuts() {
165 return GLPKJNI.glp_iocp_gmi_cuts_get(swigCPtr, this);
166 }
167
168 public void setCov_cuts(int value) {
169 GLPKJNI.glp_iocp_cov_cuts_set(swigCPtr, this, value);
170 }
171
172 public int getCov_cuts() {
173 return GLPKJNI.glp_iocp_cov_cuts_get(swigCPtr, this);
174 }
175
176 public void setClq_cuts(int value) {
177 GLPKJNI.glp_iocp_clq_cuts_set(swigCPtr, this, value);
178 }
179
180 public int getClq_cuts() {
181 return GLPKJNI.glp_iocp_clq_cuts_get(swigCPtr, this);
182 }
183
184 public void setPresolve(int value) {
185 GLPKJNI.glp_iocp_presolve_set(swigCPtr, this, value);
186 }
187
188 public int getPresolve() {
189 return GLPKJNI.glp_iocp_presolve_get(swigCPtr, this);
190 }
191
192 public void setBinarize(int value) {
193 GLPKJNI.glp_iocp_binarize_set(swigCPtr, this, value);
194 }
195
196 public int getBinarize() {
197 return GLPKJNI.glp_iocp_binarize_get(swigCPtr, this);
198 }
199
200 public void setFp_heur(int value) {
201 GLPKJNI.glp_iocp_fp_heur_set(swigCPtr, this, value);
202 }
203
204 public int getFp_heur() {
205 return GLPKJNI.glp_iocp_fp_heur_get(swigCPtr, this);
206 }
207
208 public void setPs_heur(int value) {
209 GLPKJNI.glp_iocp_ps_heur_set(swigCPtr, this, value);
210 }
211
212 public int getPs_heur() {
213 return GLPKJNI.glp_iocp_ps_heur_get(swigCPtr, this);
214 }
215
216 public void setPs_tm_lim(int value) {
217 GLPKJNI.glp_iocp_ps_tm_lim_set(swigCPtr, this, value);
218 }
219
220 public int getPs_tm_lim() {
221 return GLPKJNI.glp_iocp_ps_tm_lim_get(swigCPtr, this);
222 }
223
224 public void setSr_heur(int value) {
225 GLPKJNI.glp_iocp_sr_heur_set(swigCPtr, this, value);
226 }
227
228 public int getSr_heur() {
229 return GLPKJNI.glp_iocp_sr_heur_get(swigCPtr, this);
230 }
231
232 public void setUse_sol(int value) {
233 GLPKJNI.glp_iocp_use_sol_set(swigCPtr, this, value);
234 }
235
236 public int getUse_sol() {
237 return GLPKJNI.glp_iocp_use_sol_get(swigCPtr, this);
238 }
239
240 public void setSave_sol(String value) {
241 GLPKJNI.glp_iocp_save_sol_set(swigCPtr, this, value);
242 }
243
244 public String getSave_sol() {
245 return GLPKJNI.glp_iocp_save_sol_get(swigCPtr, this);
246 }
247
248 public void setAlien(int value) {
249 GLPKJNI.glp_iocp_alien_set(swigCPtr, this, value);
250 }
251
252 public int getAlien() {
253 return GLPKJNI.glp_iocp_alien_get(swigCPtr, this);
254 }
255
256 public void setFlip(int value) {
257 GLPKJNI.glp_iocp_flip_set(swigCPtr, this, value);
258 }
259
260 public int getFlip() {
261 return GLPKJNI.glp_iocp_flip_get(swigCPtr, this);
262 }
263
264 public void setFoo_bar(SWIGTYPE_p_double value) {
265 GLPKJNI.glp_iocp_foo_bar_set(swigCPtr, this, SWIGTYPE_p_double.getCPtr(value));
266 }
267
268 public SWIGTYPE_p_double getFoo_bar() {
269 long cPtr = GLPKJNI.glp_iocp_foo_bar_get(swigCPtr, this);
270 return (cPtr == 0) ? null : new SWIGTYPE_p_double(cPtr, false);
271 }
272
273 public glp_iocp() {
274 this(GLPKJNI.new_glp_iocp(), true);
275 }
276
277 }