source: trunk/Cbc/src/CbcMipStartIO.hpp @ 1899

Last change on this file since 1899 was 1899, checked in by stefan, 6 years ago

fixup svn properties

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 861 bytes
Line 
1#ifndef MIPSTARTIO_HPP_INCLUDED
2#define MIPSTARTIO_HPP_INCLUDED
3
4#include <vector>
5#include <string>
6#include <utility>
7class CbcModel;
8
9class OsiSolverInterface;
10
11/* tries to read mipstart (solution file) from
12   fileName, filling colValues and obj
13   returns 0 with success,
14   1 otherwise */
15int readMIPStart( CbcModel * model, const char *fileName,
16                  std::vector< std::pair< std::string, double > > &colValues,
17                  double &solObj );
18
19/* from a partial list of variables tries to fill the
20   remaining variable values */
21int computeCompleteSolution( CbcModel * model, 
22                             const std::vector< std::string > colNames,
23                             const std::vector< std::pair< std::string, double > > &colValues,
24                             double *sol, double &obj );
25
26#endif // MIPSTARTIO_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.