source: html/userguide/ch06.html @ 2182

Last change on this file since 2182 was 966, checked in by ddelanu, 16 years ago

Temporary version, trying to fix problems in server change, real release to follow

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 19.7 KB
Line 
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 6. 
2  Messages
3  </title><meta name="generator" content="DocBook XSL Stylesheets V1.66.1"><link rel="start" href="index.html" title="CLP User Guide"><link rel="up" href="index.html" title="CLP User Guide"><link rel="prev" href="ch05s03.html" title="A Sample Session"><link rel="next" href="apa.html" title="Appendix A. FAQ"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6. 
4  Messages
5  </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch05s03.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="apa.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="messages"></a>Chapter 6. 
6  Messages
7  </h2></div></div></div><p>
8  Some of the more common messages and codes passed by CLP are listed in the
9  tables below.  This is list is not meant to exhaustive.  The notation is as
10  for printf from "C":
11  </p><div class="itemizedlist"><ul type="disc"><li>
12    <tt class="computeroutput">%s</tt> is a string
13    </li><li>
14    <tt class="computeroutput">%d</tt> is an integer
15    </li><li>
16    <tt class="computeroutput">%g</tt> or <tt class="computeroutput">%f</tt>
17    is a floating point value
18    </li></ul></div><div class="table"><a name="id4775903"></a><p class="title"><b>Table 6.1. 
19  COIN Messages passed at or above logging level 1
20  </b></p><table summary="
21  COIN Messages passed at or above logging level 1
22  " border="0"><colgroup><col><col><col><col></colgroup><thead><tr><th align="center">
23      Code
24      </th><th align="center">
25      Area
26      </th><th align="left">
27      </th><th align="left">
28      Text and notes
29      </th></tr></thead><tbody><tr><td align="left">
30      1
31      </td><td align="center">
32      MPSREAD
33      </td><td align="left">
34      </td><td align="left">
35      <tt class="computeroutput">At line %d %s</tt>
36      </td></tr><tr><td colspan="3" align="left">
37      </td><td align="left">
38      <p>
39      This just prints out NAME line, ROW line, etc
40      </p>
41      </td></tr><tr><td align="left">
42      2
43      </td><td align="center">
44      MPSREAD
45      </td><td align="left">
46      </td><td align="left">
47      <tt class="computeroutput">Problem %s has %d rows, %d columns and %d elements
48      </tt>
49      </td></tr><tr><td colspan="3" align="left">
50      </td><td align="left">
51      <p>
52      This gives statistics after reading an MPS file
53      </p>
54      </td></tr><tr><td align="left">
55      8
56      </td><td align="center">
57      MPSREAD
58      </td><td align="left">
59      </td><td align="left">
60      <tt class="computeroutput">%s read with %d errors
61      </tt>
62      </td></tr><tr><td colspan="3" align="left">
63      </td><td align="left">
64      <p>
65      This gives error statistics for file
66      </p>
67      </td></tr><tr><td align="left">
68      505
69      </td><td align="center">
70      PRESOLVE
71      </td><td align="left">
72      </td><td align="left">
73      <tt class="computeroutput">
74      Presolved poblem not optimal, resolve after postsolve
75      </tt>
76      </td></tr><tr><td colspan="3" align="left">
77      </td><td align="left">
78      <p>
79      This could be because it was not feasible or because of maximum
80      iterations.  If this message occurs then consider using primal clean up
81      </p>
82      </td></tr><tr><td align="left">
83      506
84      </td><td align="center">
85      PRESOLVE
86      </td><td align="left">
87      </td><td align="left">
88      <tt class="computeroutput">
89      Presolve %d (%d) rows, %d (%d) columns and %d (%d) elements
90      </tt>
91      </td></tr><tr><td colspan="3" align="left">
92      </td><td align="left">
93      <p>
94      The first number is the number after presolve and the number
95      in parentheses is amount of reduction
96      </p>
97      </td></tr><tr><td align="left">
98      510
99      </td><td align="center">
100      PRESOLVE
101      </td><td align="left">
102      </td><td align="left">
103      <tt class="computeroutput">
104      Presolve is modifying %d integer bounds and re-presolving
105      </tt>
106      </td></tr><tr><td colspan="3" align="left">
107      </td><td align="left">
108      <p>
109      If presolve determines at the end that an integer variable have its bounds
110      changed then it will repeat the entrire presolve
111      </p>
112      </td></tr><tr><td align="left">
113      511
114      </td><td align="center">
115      PRESOLVE
116      </td><td align="left">
117      </td><td align="left">
118      <tt class="computeroutput">
119      After Postsolve, objective %g, infeasibilities - dual %g (%d),
120      primal %g (%d)
121      </tt>
122      </td></tr><tr><td colspan="3" align="left">
123      </td><td align="left">
124      <p>
125      This gives the state after postsolve - this gives the objective value
126      and the sum of dual and primal infeasibilities with the number of
127      infeasibilities in parentheses.  Hopefully these should be zero
128      </p>
129      </td></tr><tr><td align="left">
130      512
131      </td><td align="center">
132      PRESOLVE
133      </td><td align="left">
134      </td><td align="left">
135      <tt class="computeroutput">
136      Presolved model was optimal, full model needs cleaning up
137      </tt>
138      </td></tr><tr><td colspan="3" align="left">
139      </td><td align="left">
140      <p>
141      If the numbers in previous message (511) were large then maybe we need to
142      know, if small then that's life
143      </p>
144      </td></tr></tbody></table></div><div class="table"><a name="id4778385"></a><p class="title"><b>Table 6.2. 
145  CLP Messages passed at or above logging level 1
146  </b></p><table summary="
147  CLP Messages passed at or above logging level 1
148  " border="0"><colgroup><col><col><col><col></colgroup><thead><tr><th align="center">
149      Code
150      </th><th align="center">
151      Area
152      </th><th align="left">
153      </th><th align="left">
154      Text and notes
155      </th></tr></thead><tbody><tr><td align="left">
156      1
157      </td><td align="center">
158      SIMPLEX
159      </td><td align="left">
160      </td><td align="left">
161      <tt class="computeroutput">
162      Primal infeasible - objective value %g
163      </tt>
164      </td></tr><tr><td colspan="3" align="left">
165      </td><td align="left">
166      <p>
167      You may need to look at previous messages or use methods.  Such as
168      sumPrimalInfeasibilities() to find cause
169      </p>
170      </td></tr><tr><td align="left">
171      2
172      </td><td align="center">
173      SIMPLEX
174      </td><td align="left">
175      </td><td align="left">
176      <tt class="computeroutput">
177      Dual infeasible - objective value %g
178      </tt>
179      </td></tr><tr><td colspan="3" align="left">
180      </td><td align="left">
181      <p>
182      You may need to look at previous messages or use methods.  Such as
183      sumDualInfeasibilities() to find cause
184      </p>
185      </td></tr><tr><td align="left">
186      3
187      </td><td align="center">
188      SIMPLEX
189      </td><td align="left">
190      </td><td align="left">
191      <tt class="computeroutput">
192      Stopped - objective value %g
193      </tt>
194      </td></tr><tr><td colspan="3" align="left">
195      </td><td align="left">
196      <p>
197      The algorithm stopped as requested by the user.
198      </p>
199      </td></tr><tr><td align="left">
200      4
201      </td><td align="center">
202      SIMPLEX
203      </td><td align="left">
204      </td><td align="left">
205      <tt class="computeroutput">
206      Stopped due to errors - objective value %g
207      </tt>
208      </td></tr><tr><td colspan="3" align="left">
209      </td><td align="left">
210      <p>
211      Switch on log level 2 to see information on size of elements etc.  If they
212      look reasonable then maybe we need to know.
213      </p>
214      </td></tr><tr><td align="left">
215      5
216      </td><td align="center">
217      SIMPLEX
218      </td><td align="left">
219      </td><td align="left">
220      <tt class="computeroutput">
221      %d Obj %g Primal inf %g (%d) Dual inf %g (%d)
222      </tt>
223      </td></tr><tr><td colspan="3" align="left">
224      </td><td align="left">
225      <p>
226      At each re-factorization this gives the number of iterations and the value
227      of the objective function.  If there are primal infeasibilities then the
228      sum and number are given and similarly for dual infeasibilities.
229      (This is a simplified form of message.)
230      </p>
231      </td></tr><tr><td align="left">
232      14
233      </td><td align="center">
234      SIMPLEX
235      </td><td align="left">
236      </td><td align="left">
237      <tt class="computeroutput">
238      Perturbing problem by %g % of %g
239      </tt>
240      </td></tr><tr><td colspan="3" align="left">
241      </td><td align="left">
242      <p>
243      There is more to this message but if the user sees this then s/he has
244      chosen to perturb the problem or the algorithm has decided to do so.
245      If the numbers look too large the user may wish to think again.
246      </p>
247      </td></tr><tr><td align="left">
248      19
249      </td><td align="center">
250      SIMPLEX
251      </td><td align="left">
252      </td><td align="left">
253      <tt class="computeroutput">
254      %d variables/rows fixed as scaled bounds too close
255      </tt>
256      </td></tr><tr><td colspan="3" align="left">
257      </td><td align="left">
258      <p>
259      If this occurs look carefully at your input data
260      </p>
261      </td></tr><tr><td align="left">
262      24
263      </td><td align="center">
264      SIMPLEX
265      </td><td align="left">
266      </td><td align="left">
267      <tt class="computeroutput">
268      Matrix will be packed to eliminate small elements
269      </tt>
270      </td></tr><tr><td colspan="3" align="left">
271      </td><td align="left">
272      <p>
273      If this occurs the user should look carefully at data.
274      </p>
275      </td></tr><tr><td align="left">
276      26
277      </td><td align="center">
278      SIMPLEX
279      </td><td align="left">
280      </td><td align="left">
281      <tt class="computeroutput">
282      Matrix will be packed to eliminate %d duplicate elements
283      </tt>
284      </td></tr><tr><td colspan="3" align="left">
285      </td><td align="left">
286      <p>
287      If this occurs the user should look carefully at data.
288      </p>
289      </td></tr><tr><td align="left">
290      28
291      </td><td align="center">
292      SIMPLEX
293      </td><td align="left">
294      </td><td align="left">
295      <tt class="computeroutput">
296      Crash put %d variables in basis, %d dual infeasibilities
297      </tt>
298      </td></tr><tr><td colspan="3" align="left">
299      </td><td align="left">
300      <p>
301     
302      </p>
303      </td></tr><tr><td align="left">
304      29
305      </td><td align="center">
306      SIMPLEX
307      </td><td align="left">
308      </td><td align="left">
309      <tt class="computeroutput">
310      End of values pass after %d iterations
311      </tt>
312      </td></tr><tr><td colspan="3" align="left">
313      </td><td align="left">
314      <p>
315      ??? If primal(1) or dual(1) the a sweep through model is made and this
316      signals end of pass.
317      </p>
318      </td></tr></tbody></table></div><div class="table"><a name="id4779069"></a><p class="title"><b>Table 6.3. 
319  COIN Messages passed at or above logging level 0
320  </b></p><table summary="
321  COIN Messages passed at or above logging level 0
322  " border="0"><colgroup><col><col><col><col></colgroup><thead><tr><th align="center">
323      Code
324      </th><th align="center">
325      Area
326      </th><th align="left">
327      </th><th align="left">
328      Text and notes
329      </th></tr></thead><tbody><tr><td align="left">
330      3001
331      </td><td align="center">
332      MPSREAD
333      </td><td align="left">
334      </td><td align="left">
335      <tt class="computeroutput">
336      Illegal value for %s of %g
337      </tt>
338      </td></tr><tr><td colspan="3" align="left">
339      </td><td align="left">
340      <p>
341      String will be "infinity" if setInfinity passed bad value,
342      or "default integer bound" if setDefaultBound passed bad value.
343      </p>
344      </td></tr><tr><td align="left">
345      3002
346      </td><td align="center">
347      MPSREAD
348      </td><td align="left">
349      </td><td align="left">
350      <tt class="computeroutput">
351      Bad image at line %d &lt; %s &gt;
352      </tt>
353      </td></tr><tr><td colspan="3" align="left">
354      </td><td align="left">
355      <p>
356      This gives line number and the offending line
357      </p>
358      </td></tr><tr><td align="left">
359      3003
360      </td><td align="center">
361      MPSREAD
362      </td><td align="left">
363      </td><td align="left">
364      <tt class="computeroutput">
365      Duplicate objective at line %d &lt; %s &gt;
366      </tt>
367      </td></tr><tr><td colspan="3" align="left">
368      </td><td align="left">
369      <p>
370      An objective row appears twice in one column
371      </p>
372      </td></tr><tr><td align="left">
373      3004
374      </td><td align="center">
375      MPSREAD
376      </td><td align="left">
377      </td><td align="left">
378      <tt class="computeroutput">
379      Duplicate row %s at line %d %s
380      </tt>
381      </td></tr><tr><td colspan="3" align="left">
382      </td><td align="left">
383      <p>
384      The named row appears twice in one column.
385      </p>
386      </td></tr><tr><td align="left">
387      3005
388      </td><td align="center">
389      MPSREAD
390      </td><td align="left">
391      </td><td align="left">
392      <tt class="computeroutput">
393      No match for row %s at line %d &lt; %s &gt;
394      </tt>
395      </td></tr><tr><td colspan="3" align="left">
396      </td><td align="left">
397      <p>
398      The named row did not appear in ROWS section.
399      </p>
400      </td></tr><tr><td align="left">
401      3006
402      </td><td align="center">
403      MPSREAD
404      </td><td align="left">
405      </td><td align="left">
406      <tt class="computeroutput">
407      No match for column at line %d &lt; %s &gt;
408      </tt>
409      </td></tr><tr><td colspan="3" align="left">
410      </td><td align="left">
411      <p>
412      The named column (in BOUNDS section) did not appear in COLUMNS section.
413      </p>
414      </td></tr><tr><td align="left">
415      6001
416      </td><td align="center">
417      MPSREAD
418      </td><td align="left">
419      </td><td align="left">
420      <tt class="computeroutput">
421      Unable to open mps input file %s
422      </tt>
423      </td></tr><tr><td colspan="3" align="left">
424      </td><td align="left">
425      <p>
426     
427      </p>
428      </td></tr><tr><td align="left">
429      6002
430      </td><td align="center">
431      MPSREAD
432      </td><td align="left">
433      </td><td align="left">
434      <tt class="computeroutput">
435      Unknown image %s at line %d of file %s
436      </tt>
437      </td></tr><tr><td colspan="3" align="left">
438      </td><td align="left">
439      <p>
440      The Mps reader could not make sense of the image file specified.
441      </p>
442      </td></tr><tr><td align="left">
443      6003
444      </td><td align="center">
445      MPSREAD
446      </td><td align="left">
447      </td><td align="left">
448      <tt class="computeroutput">
449      Consider the possibility of a compressed file which zlib is unable to read.
450      </tt>
451      </td></tr><tr><td colspan="3" align="left">
452      </td><td align="left">
453      <p>
454      Some .gz files can not be read by zlib.  Using gunzip and then gzip
455      normally cures problem.
456      </p>
457      </td></tr><tr><td align="left">
458      6004
459      </td><td align="center">
460      MPSREAD
461      </td><td align="left">
462      </td><td align="left">
463      <tt class="computeroutput">
464      EOF on file %s
465      </tt>
466      </td></tr><tr><td colspan="3" align="left">
467      </td><td align="left">
468      <p>
469      The Mps reader did not find expected section marker.     
470      </p>
471      </td></tr><tr><td align="left">
472      6005
473      </td><td align="center">
474      MPSREAD
475      </td><td align="left">
476      </td><td align="left">
477      <tt class="computeroutput">
478      Returning as too many errors
479      </tt>
480      </td></tr><tr><td colspan="3" align="left">
481      </td><td align="left">
482      <p>
483      The reader has put out 100 messages and is giving up.
484      </p>
485      </td></tr><tr><td align="left">
486      507
487      </td><td align="center">
488      PRESOLVE
489      </td><td align="left">
490      </td><td align="left">
491      <tt class="computeroutput">
492      Presolve determined that the problem is infeasible with tolerance of %g
493      </tt>
494      </td></tr><tr><td colspan="3" align="left">
495      </td><td align="left">
496      <p>
497      If you want you can try with a larger tolerance
498      </p>
499      </td></tr><tr><td align="left">
500      508
501      </td><td align="center">
502      PRESOLVE
503      </td><td align="left">
504      </td><td align="left">
505      <tt class="computeroutput">
506      Presolve thinks problem is unbounded
507      </tt>
508      </td></tr><tr><td colspan="3" align="left">
509      </td><td align="left">
510      <p>
511      Perhaps the user should maximize if initially minimizing or vice versa.
512      </p>
513      </td></tr><tr><td align="left">
514      509
515      </td><td align="center">
516      PRESOLVE
517      </td><td align="left">
518      </td><td align="left">
519      <tt class="computeroutput">
520      Presolve thinks problem is infeasible AND unbounded???
521      </tt>
522      </td></tr><tr><td colspan="3" align="left">
523      </td><td align="left">
524      <p>
525      If you get this message we want to know
526      </p>
527      </td></tr></tbody></table></div><div class="table"><a name="id4779848"></a><p class="title"><b>Table 6.4. 
528  CLP Messages passed at or above logging level 0
529  </b></p><table summary="
530  CLP Messages passed at or above logging level 0
531  " border="0"><colgroup><col><col><col><col></colgroup><thead><tr><th align="center">
532      Code
533      </th><th align="center">
534      Area
535      </th><th align="left">
536      </th><th align="left">
537      Text and notes
538      </th></tr></thead><tbody><tr><td align="left">
539      3002
540      </td><td align="center">
541      SIMPLEX
542      </td><td align="left">
543      </td><td align="left">
544      <tt class="computeroutput">
545      Not solving empty problem - %d rows, %d columns and %d elements
546      </tt>
547      </td></tr><tr><td colspan="3" align="left">
548      </td><td align="left">
549      <p>
550      Test problem size before solving.
551      </p>
552      </td></tr><tr><td align="left">
553      6002
554      </td><td align="center">
555      SIMPLEX
556      </td><td align="left">
557      </td><td align="left">
558      <tt class="computeroutput">
559      %d bad bound pairs or bad objectives were found
560      </tt>
561      </td></tr><tr><td colspan="3" align="left">
562      </td><td align="left">
563      <p>
564      Either the value in the objective was too large or a lower bound was
565      greater than an upper bound.
566      </p>
567      </td></tr><tr><td align="left">
568      6003
569      </td><td align="center">
570      SIMPLEX
571      </td><td align="left">
572      </td><td align="left">
573      <tt class="computeroutput">
574      Matrix has %d large values, first at column %d, row %d is %g
575      </tt>
576      </td></tr><tr><td colspan="3" align="left">
577      </td><td align="left">
578      <p>
579      Some of the values in matrix are ridiculous.
580      </p>
581      </td></tr><tr><td align="left">
582      6004
583      </td><td align="center">
584      SIMPLEX
585      </td><td align="left">
586      </td><td align="left">
587      <tt class="computeroutput">
588      Can't get out of loop ...
589      </tt>
590      </td></tr><tr><td colspan="3" align="left">
591      </td><td align="left">
592      <p>
593     
594      </p>
595      </td></tr></tbody></table></div><p>
596  There are also messages available at log level 2 (the most likely useful relate
597  to scaling), and will be addressed in a future version of this User Guide.
598  </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch05s03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="apa.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">A Sample Session </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Appendix A. FAQ</td></tr></table></div></body></html>
Note: See TracBrowser for help on using the repository browser.