Cgl  0.60.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ClpModel.hpp File Reference
#include "ClpConfig.h"
#include <iostream>
#include <cassert>
#include <cmath>
#include <vector>
#include <string>
#include "ClpPackedMatrix.hpp"
#include "CoinMessageHandler.hpp"
#include "CoinHelperFunctions.hpp"
#include "CoinTypes.hpp"
#include "CoinFinite.hpp"
#include "ClpParameters.hpp"
#include "ClpObjective.hpp"
+ Include dependency graph for ClpModel.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ClpModel
class  ClpDataSave
 This is a tiny class where data can be saved round calls. More...


Parameter set/get methods

The set methods return true if the parameter was set to the given value, false otherwise.

There can be various reasons for failure: the given parameter is not applicable for the solver (e.g., refactorization frequency for the volume algorithm), the parameter is not yet implemented for the solver or simply the value of the parameter is out of the range the solver accepts. If a parameter setting call returns false check the details of your solver.

The get methods return true if the given parameter is applicable for the solver and is implemented. In this case the value of the parameter is returned in the second argument. Otherwise they return false.

once it has been decided where solver sits this may be redone

#define COIN_CBC_USING_CLP   0x01000000
 Whats changed since last solve. More...
#define MATRIX_SAME   2
#define ROW_LOWER_SAME   16
#define ROW_UPPER_SAME   32
#define OBJECTIVE_SAME   64
#define COLUMN_LOWER_SAME   128
#define COLUMN_UPPER_SAME   256
#define BASIS_SAME   512
#define ALL_SAME   65339

Macro Definition Documentation

#define COIN_CBC_USING_CLP   0x01000000

Definition at line 1185 of file ClpModel.hpp.


Whats changed since last solve.

This is a work in progress It is designed so careful people can make go faster. It is only used when startFinishOptions used in dual or primal. Bit 1 - number of rows/columns has not changed (so work arrays valid) 2 - matrix has not changed 4 - if matrix has changed only by adding rows 8 - if matrix has changed only by adding columns 16 - row lbs not changed 32 - row ubs not changed 64 - column objective not changed 128 - column lbs not changed 256 - column ubs not changed 512 - basis not changed (up to user to set this to 0) top bits may be used internally shift by 65336 is 3 all same, 1 all except col bounds

Definition at line 1330 of file ClpModel.hpp.

#define MATRIX_SAME   2

Definition at line 1331 of file ClpModel.hpp.


Definition at line 1332 of file ClpModel.hpp.


Definition at line 1333 of file ClpModel.hpp.

#define ROW_LOWER_SAME   16

Definition at line 1334 of file ClpModel.hpp.

#define ROW_UPPER_SAME   32

Definition at line 1335 of file ClpModel.hpp.

#define OBJECTIVE_SAME   64

Definition at line 1336 of file ClpModel.hpp.

#define COLUMN_LOWER_SAME   128

Definition at line 1337 of file ClpModel.hpp.

#define COLUMN_UPPER_SAME   256

Definition at line 1338 of file ClpModel.hpp.

#define BASIS_SAME   512

Definition at line 1339 of file ClpModel.hpp.

#define ALL_SAME   65339

Definition at line 1340 of file ClpModel.hpp.


Definition at line 1341 of file ClpModel.hpp.