source: trunk/Clp/src/CbcOrClpParam.hpp @ 2353

Last change on this file since 2353 was 2353, checked in by unxusr, 6 months ago

option to store names in preprocessed problem

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 17.8 KB
Line 
1
2/* $Id: CbcOrClpParam.hpp 2353 2018-10-17 03:55:42Z unxusr $ */
3// Copyright (C) 2002, International Business Machines
4// Corporation and others.  All Rights Reserved.
5// This code is licensed under the terms of the Eclipse Public License (EPL).
6
7#ifdef USE_CBCCONFIG
8# include "CbcConfig.h"
9#else
10# include "ClpConfig.h"
11#endif
12
13#ifndef CbcOrClpParam_H
14#define CbcOrClpParam_H
15/**
16   This has parameter handling stuff which can be shared between Cbc and Clp (and Dylp etc).
17
18   This (and .cpp) should be copied so that it is the same in Cbc/Test and Clp/Test.
19   I know this is not elegant but it seems simplest.
20
21   It uses COIN_HAS_CBC for parameters wanted by CBC
22   It uses COIN_HAS_CLP for parameters wanted by CLP (or CBC using CLP)
23   It could use COIN_HAS_DYLP for parameters wanted by DYLP
24   It could use COIN_HAS_DYLP_OR_CLP for parameters wanted by DYLP or CLP etc etc
25
26 */
27class OsiSolverInterface;
28class CbcModel;
29class ClpSimplex;
30/*! \brief Parameter codes
31
32  Parameter type ranges are allocated as follows
33  <ul>
34    <li>   1 -- 100     double parameters
35    <li> 101 -- 200     integer parameters
36    <li> 201 -- 250     string parameters
37    <li> 251 -- 300     cuts etc(string but broken out for clarity)
38    <li> 301 -- 400     `actions'
39  </ul>
40
41  `Actions' do not necessarily invoke an immediate action; it's just that they
42  don't fit neatly into the parameters array.
43
44  This coding scheme is in flux.
45*/
46
47enum CbcOrClpParameterType
48
49{
50     CBC_PARAM_GENERALQUERY = -100,
51     CBC_PARAM_FULLGENERALQUERY,
52
53     CLP_PARAM_DBL_PRIMALTOLERANCE = 1,
54     CLP_PARAM_DBL_DUALTOLERANCE,
55     CLP_PARAM_DBL_TIMELIMIT,
56     CLP_PARAM_DBL_DUALBOUND,
57     CLP_PARAM_DBL_PRIMALWEIGHT,
58     CLP_PARAM_DBL_OBJSCALE,
59     CLP_PARAM_DBL_RHSSCALE,
60     CLP_PARAM_DBL_ZEROTOLERANCE,
61     CLP_PARAM_DBL_PSI,
62
63     CBC_PARAM_DBL_INFEASIBILITYWEIGHT = 51,
64     CBC_PARAM_DBL_CUTOFF,
65     CBC_PARAM_DBL_INTEGERTOLERANCE,
66     CBC_PARAM_DBL_INCREMENT,
67     CBC_PARAM_DBL_ALLOWABLEGAP,
68     CBC_PARAM_DBL_TIMELIMIT_BAB,
69     CBC_PARAM_DBL_GAPRATIO,
70
71     CBC_PARAM_DBL_DJFIX = 81,
72     CBC_PARAM_DBL_TIGHTENFACTOR,
73     CLP_PARAM_DBL_PRESOLVETOLERANCE,
74     CLP_PARAM_DBL_OBJSCALE2,
75     CBC_PARAM_DBL_FAKEINCREMENT,
76     CBC_PARAM_DBL_FAKECUTOFF,
77     CBC_PARAM_DBL_ARTIFICIALCOST,
78     CBC_PARAM_DBL_DEXTRA3,
79     CBC_PARAM_DBL_SMALLBAB,
80     CBC_PARAM_DBL_DEXTRA4,
81     CBC_PARAM_DBL_DEXTRA5,
82
83     CLP_PARAM_INT_SOLVERLOGLEVEL = 101,
84#ifndef COIN_HAS_CBC
85     CLP_PARAM_INT_LOGLEVEL = 101,
86#endif
87     CLP_PARAM_INT_MAXFACTOR,
88     CLP_PARAM_INT_PERTVALUE,
89     CLP_PARAM_INT_MAXITERATION,
90     CLP_PARAM_INT_PRESOLVEPASS,
91     CLP_PARAM_INT_IDIOT,
92     CLP_PARAM_INT_SPRINT,
93     CLP_PARAM_INT_OUTPUTFORMAT,
94     CLP_PARAM_INT_SLPVALUE,
95     CLP_PARAM_INT_PRESOLVEOPTIONS,
96     CLP_PARAM_INT_PRINTOPTIONS,
97     CLP_PARAM_INT_SPECIALOPTIONS,
98     CLP_PARAM_INT_SUBSTITUTION,
99     CLP_PARAM_INT_DUALIZE,
100     CLP_PARAM_INT_VERBOSE,
101     CLP_PARAM_INT_CPP,
102     CLP_PARAM_INT_PROCESSTUNE,
103     CLP_PARAM_INT_USESOLUTION,
104     CLP_PARAM_INT_RANDOMSEED,
105     CLP_PARAM_INT_MORESPECIALOPTIONS,
106     CLP_PARAM_INT_DECOMPOSE_BLOCKS,
107     CLP_PARAM_INT_VECTOR_MODE,
108
109     CBC_PARAM_INT_STRONGBRANCHING = 151,
110     CBC_PARAM_INT_CUTDEPTH,
111     CBC_PARAM_INT_MAXNODES,
112     CBC_PARAM_INT_NUMBERBEFORE,
113     CBC_PARAM_INT_NUMBERANALYZE,
114     CBC_PARAM_INT_MIPOPTIONS,
115     CBC_PARAM_INT_MOREMIPOPTIONS,
116     CBC_PARAM_INT_MAXHOTITS,
117     CBC_PARAM_INT_FPUMPITS,
118     CBC_PARAM_INT_MAXSOLS,
119     CBC_PARAM_INT_FPUMPTUNE,
120     CBC_PARAM_INT_TESTOSI,
121     CBC_PARAM_INT_EXTRA1,
122     CBC_PARAM_INT_EXTRA2,
123     CBC_PARAM_INT_EXTRA3,
124     CBC_PARAM_INT_EXTRA4,
125     CBC_PARAM_INT_DEPTHMINIBAB,
126     CBC_PARAM_INT_CUTPASSINTREE,
127     CBC_PARAM_INT_THREADS,
128     CBC_PARAM_INT_CUTPASS,
129     CBC_PARAM_INT_VUBTRY,
130     CBC_PARAM_INT_DENSE,
131     CBC_PARAM_INT_EXPERIMENT,
132     CBC_PARAM_INT_DIVEOPT,
133     CBC_PARAM_INT_DIVEOPTSOLVES,
134     CBC_PARAM_INT_STRATEGY,
135     CBC_PARAM_INT_SMALLFACT,
136     CBC_PARAM_INT_HOPTIONS,
137     CBC_PARAM_INT_CUTLENGTH,
138     CBC_PARAM_INT_FPUMPTUNE2,
139#ifdef COIN_HAS_CBC
140     CLP_PARAM_INT_LOGLEVEL ,
141#endif
142     CBC_PARAM_INT_MAXSAVEDSOLS,
143     CBC_PARAM_INT_RANDOMSEED,
144     CBC_PARAM_INT_MULTIPLEROOTS,
145     CBC_PARAM_INT_STRONG_STRATEGY,
146     CBC_PARAM_INT_EXTRA_VARIABLES,
147     CBC_PARAM_INT_MAX_SLOW_CUTS,
148     CBC_PARAM_INT_MOREMOREMIPOPTIONS,
149
150     CLP_PARAM_STR_DIRECTION = 201,
151     CLP_PARAM_STR_DUALPIVOT,
152     CLP_PARAM_STR_SCALING,
153     CLP_PARAM_STR_ERRORSALLOWED,
154     CLP_PARAM_STR_KEEPNAMES,
155     CLP_PARAM_STR_SPARSEFACTOR,
156     CLP_PARAM_STR_PRIMALPIVOT,
157     CLP_PARAM_STR_PRESOLVE,
158     CLP_PARAM_STR_CRASH,
159     CLP_PARAM_STR_BIASLU,
160     CLP_PARAM_STR_PERTURBATION,
161     CLP_PARAM_STR_MESSAGES,
162     CLP_PARAM_STR_AUTOSCALE,
163     CLP_PARAM_STR_CHOLESKY,
164     CLP_PARAM_STR_KKT,
165     CLP_PARAM_STR_BARRIERSCALE,
166     CLP_PARAM_STR_GAMMA,
167     CLP_PARAM_STR_CROSSOVER,
168     CLP_PARAM_STR_PFI,
169     CLP_PARAM_STR_INTPRINT,
170     CLP_PARAM_STR_VECTOR,
171     CLP_PARAM_STR_FACTORIZATION,
172     CLP_PARAM_STR_ALLCOMMANDS,
173     CLP_PARAM_STR_TIME_MODE,
174     CLP_PARAM_STR_ABCWANTED,
175     CLP_PARAM_STR_BUFFER_MODE,
176
177     CBC_PARAM_STR_NODESTRATEGY = 251,
178     CBC_PARAM_STR_BRANCHSTRATEGY,
179     CBC_PARAM_STR_CUTSSTRATEGY,
180     CBC_PARAM_STR_HEURISTICSTRATEGY,
181     CBC_PARAM_STR_GOMORYCUTS,
182     CBC_PARAM_STR_PROBINGCUTS,
183     CBC_PARAM_STR_KNAPSACKCUTS,
184     CBC_PARAM_STR_REDSPLITCUTS,
185     CBC_PARAM_STR_ROUNDING,
186     CBC_PARAM_STR_SOLVER,
187     CBC_PARAM_STR_CLIQUECUTS,
188     CBC_PARAM_STR_COSTSTRATEGY,
189     CBC_PARAM_STR_FLOWCUTS,
190     CBC_PARAM_STR_MIXEDCUTS,
191     CBC_PARAM_STR_TWOMIRCUTS,
192     CBC_PARAM_STR_PREPROCESS,
193     CBC_PARAM_STR_FPUMP,
194     CBC_PARAM_STR_GREEDY,
195     CBC_PARAM_STR_COMBINE,
196     CBC_PARAM_STR_PROXIMITY,
197     CBC_PARAM_STR_LOCALTREE,
198     CBC_PARAM_STR_SOS,
199     CBC_PARAM_STR_LANDPCUTS,
200     CBC_PARAM_STR_RINS,
201     CBC_PARAM_STR_RESIDCUTS,
202     CBC_PARAM_STR_RENS,
203     CBC_PARAM_STR_DIVINGS,
204     CBC_PARAM_STR_DIVINGC,
205     CBC_PARAM_STR_DIVINGF,
206     CBC_PARAM_STR_DIVINGG,
207     CBC_PARAM_STR_DIVINGL,
208     CBC_PARAM_STR_DIVINGP,
209     CBC_PARAM_STR_DIVINGV,
210     CBC_PARAM_STR_DINS,
211     CBC_PARAM_STR_PIVOTANDFIX,
212     CBC_PARAM_STR_RANDROUND,
213     CBC_PARAM_STR_NAIVE,
214     CBC_PARAM_STR_ZEROHALFCUTS,
215     CBC_PARAM_STR_CPX,
216     CBC_PARAM_STR_CROSSOVER2,
217     CBC_PARAM_STR_PIVOTANDCOMPLEMENT,
218     CBC_PARAM_STR_VND,
219     CBC_PARAM_STR_LAGOMORYCUTS,
220     CBC_PARAM_STR_LATWOMIRCUTS,
221     CBC_PARAM_STR_REDSPLIT2CUTS,
222     CBC_PARAM_STR_GMICUTS,
223     CBC_PARAM_STR_CUTOFF_CONSTRAINT,
224     CBC_PARAM_STR_DW,
225     CBC_PARAM_STR_ORBITAL,
226     CBC_PARAM_STR_PREPROCNAMES,
227
228     CLP_PARAM_ACTION_DIRECTORY = 301,
229     CLP_PARAM_ACTION_DIRSAMPLE,
230     CLP_PARAM_ACTION_DIRNETLIB,
231     CBC_PARAM_ACTION_DIRMIPLIB,
232     CLP_PARAM_ACTION_IMPORT,
233     CLP_PARAM_ACTION_EXPORT,
234     CLP_PARAM_ACTION_RESTORE,
235     CLP_PARAM_ACTION_SAVE,
236     CLP_PARAM_ACTION_DUALSIMPLEX,
237     CLP_PARAM_ACTION_PRIMALSIMPLEX,
238     CLP_PARAM_ACTION_EITHERSIMPLEX,
239     CLP_PARAM_ACTION_MAXIMIZE,
240     CLP_PARAM_ACTION_MINIMIZE,
241     CLP_PARAM_ACTION_EXIT,
242     CLP_PARAM_ACTION_STDIN,
243     CLP_PARAM_ACTION_UNITTEST,
244     CLP_PARAM_ACTION_NETLIB_EITHER,
245     CLP_PARAM_ACTION_NETLIB_DUAL,
246     CLP_PARAM_ACTION_NETLIB_PRIMAL,
247     CLP_PARAM_ACTION_SOLUTION,
248     CLP_PARAM_ACTION_SAVESOL,
249     CLP_PARAM_ACTION_TIGHTEN,
250     CLP_PARAM_ACTION_FAKEBOUND,
251     CLP_PARAM_ACTION_HELP,
252     CLP_PARAM_ACTION_PLUSMINUS,
253     CLP_PARAM_ACTION_NETWORK,
254     CLP_PARAM_ACTION_ALLSLACK,
255     CLP_PARAM_ACTION_REVERSE,
256     CLP_PARAM_ACTION_BARRIER,
257     CLP_PARAM_ACTION_NETLIB_BARRIER,
258     CLP_PARAM_ACTION_NETLIB_TUNE,
259     CLP_PARAM_ACTION_REALLY_SCALE,
260     CLP_PARAM_ACTION_BASISIN,
261     CLP_PARAM_ACTION_BASISOUT,
262     CLP_PARAM_ACTION_SOLVECONTINUOUS,
263     CLP_PARAM_ACTION_CLEARCUTS,
264     CLP_PARAM_ACTION_VERSION,
265     CLP_PARAM_ACTION_STATISTICS,
266     CLP_PARAM_ACTION_DEBUG,
267     CLP_PARAM_ACTION_DUMMY,
268     CLP_PARAM_ACTION_PRINTMASK,
269     CLP_PARAM_ACTION_OUTDUPROWS,
270     CLP_PARAM_ACTION_USERCLP,
271     CLP_PARAM_ACTION_MODELIN,
272     CLP_PARAM_ACTION_CSVSTATISTICS,
273     CLP_PARAM_ACTION_STOREDFILE,
274     CLP_PARAM_ACTION_ENVIRONMENT,
275     CLP_PARAM_ACTION_PARAMETRICS,
276     CLP_PARAM_ACTION_GMPL_SOLUTION,
277     CLP_PARAM_ACTION_RESTORESOL,
278
279     CBC_PARAM_ACTION_BAB = 361,
280     CBC_PARAM_ACTION_MIPLIB,
281     CBC_PARAM_ACTION_STRENGTHEN,
282     CBC_PARAM_ACTION_PRIORITYIN,
283     CBC_PARAM_ACTION_MIPSTART,
284     CBC_PARAM_ACTION_USERCBC,
285     CBC_PARAM_ACTION_DOHEURISTIC,
286     CLP_PARAM_ACTION_NEXTBESTSOLUTION,
287
288     CBC_PARAM_NOTUSED_OSLSTUFF = 401,
289     CBC_PARAM_NOTUSED_CBCSTUFF,
290
291     CBC_PARAM_NOTUSED_INVALID = 1000
292} ;
293#include <vector>
294#include <string>
295
296/// Very simple class for setting parameters
297
298class CbcOrClpParam {
299public:
300     /**@name Constructor and destructor */
301     //@{
302     /// Constructors
303     CbcOrClpParam (  );
304     CbcOrClpParam (std::string name, std::string help,
305                    double lower, double upper, CbcOrClpParameterType type, int display = 2);
306     CbcOrClpParam (std::string name, std::string help,
307                    int lower, int upper, CbcOrClpParameterType type, int display = 2);
308     // Other strings will be added by insert
309     CbcOrClpParam (std::string name, std::string help, std::string firstValue,
310                    CbcOrClpParameterType type, int whereUsed = 7, int display = 2);
311     // Action
312     CbcOrClpParam (std::string name, std::string help,
313                    CbcOrClpParameterType type, int whereUsed = 7, int display = 2);
314     /// Copy constructor.
315     CbcOrClpParam(const CbcOrClpParam &);
316     /// Assignment operator. This copies the data
317     CbcOrClpParam & operator=(const CbcOrClpParam & rhs);
318     /// Destructor
319     ~CbcOrClpParam (  );
320     //@}
321
322     /**@name stuff */
323     //@{
324     /// Insert string (only valid for keywords)
325     void append(std::string keyWord);
326     /// Adds one help line
327     void addHelp(std::string keyWord);
328     /// Returns name
329     inline std::string  name(  ) const {
330          return name_;
331     }
332     /// Returns short help
333     inline std::string  shortHelp(  ) const {
334          return shortHelp_;
335     }
336     /// Sets a double parameter (nonzero code if error)
337     int setDoubleParameter(CbcModel & model, double value) ;
338     /// Sets double parameter and returns printable string and error code
339     const char * setDoubleParameterWithMessage ( CbcModel & model, double  value , int & returnCode);
340     /// Gets a double parameter
341     double doubleParameter(CbcModel & model) const;
342     /// Sets a int parameter (nonzero code if error)
343     int setIntParameter(CbcModel & model, int value) ;
344     /// Sets int parameter and returns printable string and error code
345     const char * setIntParameterWithMessage ( CbcModel & model, int value , int & returnCode);
346     /// Gets a int parameter
347     int intParameter(CbcModel & model) const;
348     /// Sets a double parameter (nonzero code if error)
349     int setDoubleParameter(ClpSimplex * model, double value) ;
350     /// Gets a double parameter
351     double doubleParameter(ClpSimplex * model) const;
352     /// Sets double parameter and returns printable string and error code
353     const char * setDoubleParameterWithMessage ( ClpSimplex * model, double  value , int & returnCode);
354     /// Sets a int parameter (nonzero code if error)
355     int setIntParameter(ClpSimplex * model, int value) ;
356     /// Sets int parameter and returns printable string and error code
357     const char * setIntParameterWithMessage ( ClpSimplex * model, int  value , int & returnCode);
358     /// Gets a int parameter
359     int intParameter(ClpSimplex * model) const;
360     /// Sets a double parameter (nonzero code if error)
361     int setDoubleParameter(OsiSolverInterface * model, double value) ;
362     /// Sets double parameter and returns printable string and error code
363     const char * setDoubleParameterWithMessage ( OsiSolverInterface * model, double  value , int & returnCode);
364     /// Gets a double parameter
365     double doubleParameter(OsiSolverInterface * model) const;
366     /// Sets a int parameter (nonzero code if error)
367     int setIntParameter(OsiSolverInterface * model, int value) ;
368     /// Sets int parameter and returns printable string and error code
369     const char * setIntParameterWithMessage ( OsiSolverInterface * model, int  value , int & returnCode);
370     /// Gets a int parameter
371     int intParameter(OsiSolverInterface * model) const;
372     /// Checks a double parameter (nonzero code if error)
373     int checkDoubleParameter(double value) const;
374     /// Returns name which could match
375     std::string matchName (  ) const;
376     /// Returns length of name for ptinting
377     int lengthMatchName (  ) const;
378     /// Returns parameter option which matches (-1 if none)
379     int parameterOption ( std::string check ) const;
380     /// Prints parameter options
381     void printOptions (  ) const;
382     /// Returns current parameter option
383     inline std::string currentOption (  ) const {
384          return definedKeyWords_[currentKeyWord_];
385     }
386     /// Sets current parameter option
387     void setCurrentOption ( int value , bool printIt = false);
388     /// Sets current parameter option and returns printable string
389     const char * setCurrentOptionWithMessage ( int value );
390     /// Sets current parameter option using string
391     void setCurrentOption (const std::string value );
392     /// Sets current parameter option using string with message
393     const char * setCurrentOptionWithMessage (const std::string value );
394     /// Returns current parameter option position
395     int currentOptionAsInteger (  ) const ;
396     /** Returns current parameter option position
397         but if fake keyword returns a fake value and sets
398         fakeInteger to true value.  If not fake then fakeInteger is -COIN_INT_MAX
399      */
400     int currentOptionAsInteger ( int & fakeInteger ) const;
401     /// Sets int value
402     void setIntValue ( int value );
403     /// Sets int value with message
404     const char * setIntValueWithMessage ( int value );
405     inline int intValue () const {
406          return intValue_;
407     }
408     /// Sets double value
409     void setDoubleValue ( double value );
410     /// Sets double value with message
411     const char * setDoubleValueWithMessage ( double value );
412     inline double doubleValue () const {
413          return doubleValue_;
414     }
415     /// Sets string value
416     void setStringValue ( std::string value );
417     inline std::string stringValue () const {
418          return stringValue_;
419     }
420     /// Returns 1 if matches minimum, 2 if matches less, 0 if not matched
421     int matches (std::string input) const;
422     /// type
423     inline CbcOrClpParameterType type() const {
424          return type_;
425     }
426     /// whether to display
427     inline int displayThis() const {
428          return display_;
429     }
430     /// Set Long help
431     inline void setLonghelp(const std::string help) {
432          longHelp_ = help;
433     }
434     /// Print Long help
435     void printLongHelp() const;
436     /// Print action and string
437     void printString() const;
438     /** 7 if used everywhere,
439         1 - used by clp
440         2 - used by cbc
441         4 - used by ampl
442     */
443     inline int whereUsed() const {
444          return whereUsed_;
445     }
446     /// Gets value of fake keyword
447     inline int fakeKeyWord() const
448     { return fakeKeyWord_;}
449     /// Sets value of fake keyword
450     inline void setFakeKeyWord(int value, int fakeValue)
451     { fakeKeyWord_ = value; fakeValue_ = fakeValue;}
452     /// Sets value of fake keyword to current size of keywords
453     void setFakeKeyWord(int fakeValue);
454
455private:
456     /// gutsOfConstructor
457     void gutsOfConstructor();
458     //@}
459////////////////// data //////////////////
460private:
461
462     /**@name data
463      We might as well throw all type data in - could derive?
464     */
465     //@{
466     // Type see CbcOrClpParameterType
467     CbcOrClpParameterType type_;
468     /// If double == okay
469     double lowerDoubleValue_;
470     double upperDoubleValue_;
471     /// If int == okay
472     int lowerIntValue_;
473     int upperIntValue_;
474     // Length of name
475     unsigned int lengthName_;
476     // Minimum match
477     unsigned int lengthMatch_;
478     /// set of valid strings
479     std::vector<std::string> definedKeyWords_;
480     /// Name
481     std::string name_;
482     /// Short help
483     std::string shortHelp_;
484     /// Long help
485     std::string longHelp_;
486     /// Action
487     CbcOrClpParameterType action_;
488     /// Current keyWord (if a keyword parameter)
489     int currentKeyWord_;
490     /// Display on ?
491     int display_;
492     /// Integer parameter - current value
493     int intValue_;
494     /// Double parameter - current value
495     double doubleValue_;
496     /// String parameter - current value
497     std::string stringValue_;
498     /** 7 if used everywhere,
499         1 - used by clp
500         2 - used by cbc
501         4 - used by ampl
502     */
503     int whereUsed_;
504     /** If >=0 then integers allowed as a fake keyword
505         So minusnnnn would got to -nnnn in currentKeyword_
506         and plusnnnn would go to fakeKeyword_+nnnn
507     */
508     int fakeKeyWord_;
509     /// Return this as main value if an integer
510     int fakeValue_;
511     //@}
512};
513/// Simple read stuff
514std::string CoinReadNextField();
515
516std::string CoinReadGetCommand(int argc, const char *argv[]);
517std::string CoinReadGetString(int argc, const char *argv[]);
518// valid 0 - okay, 1 bad, 2 not there
519int CoinReadGetIntField(int argc, const char *argv[], int * valid);
520double CoinReadGetDoubleField(int argc, const char *argv[], int * valid);
521void CoinReadPrintit(const char * input);
522void setCbcOrClpPrinting(bool yesNo);
523#define CBCMAXPARAMETERS 250
524/*
525  Subroutine to establish the cbc parameter array. See the description of
526  class CbcOrClpParam for details. Pulled from C..Main() for clarity.
527*/
528void establishParams (int &numberParameters, CbcOrClpParam *const parameters);
529// Given a parameter type - returns its number in list
530int whichParam (CbcOrClpParameterType name,
531                int numberParameters, CbcOrClpParam *const parameters);
532// Dump/restore a solution to file
533void saveSolution(const ClpSimplex * lpSolver, std::string fileName);
534void restoreSolution(ClpSimplex * lpSolver, std::string fileName, int mode);
535#endif  /* CbcOrClpParam_H */
Note: See TracBrowser for help on using the repository browser.