Clp  1.17.8
Classes
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.

Classes

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

Macros

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
 
data
#define ROW_COLUMN_COUNTS_SAME   1
 Whats changed since last solve. More...
 
#define MATRIX_SAME   2
 
#define MATRIX_JUST_ROWS_ADDED   4
 
#define MATRIX_JUST_COLUMNS_ADDED   8
 
#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
 
#define ALL_SAME_EXCEPT_COLUMN_BOUNDS   65337
 

Macro Definition Documentation

◆ COIN_CBC_USING_CLP

#define COIN_CBC_USING_CLP   0x01000000

Definition at line 1190 of file ClpModel.hpp.

◆ ROW_COLUMN_COUNTS_SAME

#define ROW_COLUMN_COUNTS_SAME   1

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 1335 of file ClpModel.hpp.

◆ MATRIX_SAME

#define MATRIX_SAME   2

Definition at line 1336 of file ClpModel.hpp.

◆ MATRIX_JUST_ROWS_ADDED

#define MATRIX_JUST_ROWS_ADDED   4

Definition at line 1337 of file ClpModel.hpp.

◆ MATRIX_JUST_COLUMNS_ADDED

#define MATRIX_JUST_COLUMNS_ADDED   8

Definition at line 1338 of file ClpModel.hpp.

◆ ROW_LOWER_SAME

#define ROW_LOWER_SAME   16

Definition at line 1339 of file ClpModel.hpp.

◆ ROW_UPPER_SAME

#define ROW_UPPER_SAME   32

Definition at line 1340 of file ClpModel.hpp.

◆ OBJECTIVE_SAME

#define OBJECTIVE_SAME   64

Definition at line 1341 of file ClpModel.hpp.

◆ COLUMN_LOWER_SAME

#define COLUMN_LOWER_SAME   128

Definition at line 1342 of file ClpModel.hpp.

◆ COLUMN_UPPER_SAME

#define COLUMN_UPPER_SAME   256

Definition at line 1343 of file ClpModel.hpp.

◆ BASIS_SAME

#define BASIS_SAME   512

Definition at line 1344 of file ClpModel.hpp.

◆ ALL_SAME

#define ALL_SAME   65339

Definition at line 1345 of file ClpModel.hpp.

◆ ALL_SAME_EXCEPT_COLUMN_BOUNDS

#define ALL_SAME_EXCEPT_COLUMN_BOUNDS   65337

Definition at line 1346 of file ClpModel.hpp.