All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
lpcolsetbase.h
Go to the documentation of this file.
34 * Class LPColSetBase implements a set of \ref LPColBase "LPColBase%s". Unless for memory limitations, any number of LPColBase%s may be
35 * #add%ed to an LPColSetBase. Single or multiple LPColBase%s may be #add%ed to an LPColSetBase, where each method add() comes with
36 * two different signatures. One with and one without a parameter, used for returning the \ref DataKey "DataKeys"
37 * assigned to the new LPColBase%s by the set. See DataKey for a more detailed description of the concept of keys. For the
38 * concept of renumbering LPColBase%s within an LPColSetBase after removal of some LPColBase%s, see DataSet.
49 // ------------------------------------------------------------------------------------------------------------------
61 // ------------------------------------------------------------------------------------------------------------------
75 // ------------------------------------------------------------------------------------------------------------------
121 /// Returns objective value (w.r.t. maximization) of LPColBase with DataKey \p k in LPColSetBase.
243 // ------------------------------------------------------------------------------------------------------------------
246 * All extension methods come with two signatures, one of which providing a parameter to return the assigned
247 * DataKey(s). See DataSet for a more detailed description. All extension methods are designed to automatically
272 /// Adds LPColBase consisting of objective value \p obj, lower bound \p lower, column vector \p colVector and upper bound \p upper to LPColSetBase.
273 void add(DataKey& newkey, const R& obj, const R& newlower, const SVectorBase<R>& newcolVector, const R& newupper)
289 /// Adds LPColBase consisting of left hand side \p lhs, column vector \p colVector, and right hand side \p rhs to LPColSetBase.
291 void add(const S* obj, const S* lowerValue, const S* colValues, const int* colIndices, int colSize, const S* upperValue)
297 /// Adds LPColBase consisting of left hand side \p lhs, column vector \p colVector, and right hand side \p rhs to
300 void add(DataKey& newkey, const S* objValue, const S* lowerValue, const S* colValues, const int* colIndices, int colSize, const S* upperValue)
381 SVectorBase<R>& create(int pnonzeros = 0, const R& pobj = 1, const R& plw = 0, const R& pupp = 1)
387 /// Creates new LPColBase with specified arguments and returns a reference to its column vector.
388 SVectorBase<R>& create(DataKey& newkey, int nonzeros = 0, const R& obj = 1, const R& newlow = 0, const R& newup = 1)
407 // ------------------------------------------------------------------------------------------------------------------
410 * See DataSet for a description of the renumbering of the remaining LPColBase%s in a LPColSetBase after the call of
462 /// Removes LPColBase%s with numbers \p nums, where \p n is the length of the array \p nums, and stores the index permutation in array \p perm.
495 // ------------------------------------------------------------------------------------------------------------------
536 // ------------------------------------------------------------------------------------------------------------------
559 // ------------------------------------------------------------------------------------------------------------------
564 /** The user can specify the initial maximum number of columns \p max and the initial maximum number of nonzero
|