summaryrefslogtreecommitdiff
path: root/newstructure/thirdparty/linux/include/coin/ClpLinearObjective.hpp
diff options
context:
space:
mode:
authorHarpreet2016-09-03 00:36:51 +0530
committerHarpreet2016-09-03 00:36:51 +0530
commita0d9443af147e949c1e6a01ac24749d12593ec5b (patch)
tree1a1955c5482ae608fd7f618b06f4ecc6a0d39a23 /newstructure/thirdparty/linux/include/coin/ClpLinearObjective.hpp
parent4b64cf486f5c999fd8167758cae27839f3b50848 (diff)
downloadFOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.tar.gz
FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.tar.bz2
FOSSEE-Optim-toolbox-development-a0d9443af147e949c1e6a01ac24749d12593ec5b.zip
cbcintlinprog added
Diffstat (limited to 'newstructure/thirdparty/linux/include/coin/ClpLinearObjective.hpp')
-rw-r--r--newstructure/thirdparty/linux/include/coin/ClpLinearObjective.hpp103
1 files changed, 0 insertions, 103 deletions
diff --git a/newstructure/thirdparty/linux/include/coin/ClpLinearObjective.hpp b/newstructure/thirdparty/linux/include/coin/ClpLinearObjective.hpp
deleted file mode 100644
index ff035d4..0000000
--- a/newstructure/thirdparty/linux/include/coin/ClpLinearObjective.hpp
+++ /dev/null
@@ -1,103 +0,0 @@
-/* $Id: ClpLinearObjective.hpp 1665 2011-01-04 17:55:54Z lou $ */
-// Copyright (C) 2003, International Business Machines
-// Corporation and others. All Rights Reserved.
-// This code is licensed under the terms of the Eclipse Public License (EPL).
-
-#ifndef ClpLinearObjective_H
-#define ClpLinearObjective_H
-
-#include "ClpObjective.hpp"
-
-//#############################################################################
-
-/** Linear Objective Class
-
-*/
-
-class ClpLinearObjective : public ClpObjective {
-
-public:
-
- ///@name Stuff
- //@{
-
- /** Returns objective coefficients.
-
- Offset is always set to 0.0. All other parameters unused.
- */
- virtual double * gradient(const ClpSimplex * model,
- const double * solution, double & offset, bool refresh,
- int includeLinear = 2);
- /** Returns reduced gradient.Returns an offset (to be added to current one).
- */
- virtual double reducedGradient(ClpSimplex * model, double * region,
- bool useFeasibleCosts);
- /** Returns step length which gives minimum of objective for
- solution + theta * change vector up to maximum theta.
-
- arrays are numberColumns+numberRows
- Also sets current objective, predicted and at maximumTheta
- */
- virtual double stepLength(ClpSimplex * model,
- const double * solution,
- const double * change,
- double maximumTheta,
- double & currentObj,
- double & predictedObj,
- double & thetaObj);
- /// Return objective value (without any ClpModel offset) (model may be NULL)
- virtual double objectiveValue(const ClpSimplex * model, const double * solution) const ;
- /// Resize objective
- virtual void resize(int newNumberColumns) ;
- /// Delete columns in objective
- virtual void deleteSome(int numberToDelete, const int * which) ;
- /// Scale objective
- virtual void reallyScale(const double * columnScale) ;
-
- //@}
-
-
- ///@name Constructors and destructors
- //@{
- /// Default Constructor
- ClpLinearObjective();
-
- /// Constructor from objective
- ClpLinearObjective(const double * objective, int numberColumns);
-
- /// Copy constructor
- ClpLinearObjective(const ClpLinearObjective &);
- /** Subset constructor. Duplicates are allowed
- and order is as given.
- */
- ClpLinearObjective (const ClpLinearObjective &rhs, int numberColumns,
- const int * whichColumns) ;
-
- /// Assignment operator
- ClpLinearObjective & operator=(const ClpLinearObjective& rhs);
-
- /// Destructor
- virtual ~ClpLinearObjective ();
-
- /// Clone
- virtual ClpObjective * clone() const;
- /** Subset clone. Duplicates are allowed
- and order is as given.
- */
- virtual ClpObjective * subsetClone (int numberColumns,
- const int * whichColumns) const;
-
- //@}
-
- //---------------------------------------------------------------------------
-
-private:
- ///@name Private member data
- /// Objective
- double * objective_;
- /// number of columns
- int numberColumns_;
- //@}
-};
-
-#endif