#include <AugmentedForm.h>
Klasa przechowująca problem optymalizacji liniowej w postaci macierzy A, b i c formy standardowej (augmented form): min { c_T*x : A*x=b, x>=0 }, gdzie:
A - Macierz wsp. funkcji ograniczeń [m x n],
b - Wektor ograniczeń [m],
c - Wektor kosztów [n].
Ograniczenia przekształcane są do równościowych poprzez dodawanie/odejmowanie zmiennych dopełniających (slacków).
Metody publiczne | |
AugmentedForm (void) | |
Konstruktor domyślny. | |
AugmentedForm (const Matrix &A, const ColumnVector &b, const ColumnVector &c, const int actualVariables) | |
Konstruktor. | |
AugmentedForm (const LinearProblem &problem) | |
Konstruktor. | |
AugmentedForm (const AugmentedForm &from) | |
Konstruktor kopiujący. | |
~AugmentedForm (void) | |
Destruktor. | |
AugmentedForm & | operator= (const AugmentedForm &from) |
Operator przypisania. | |
bool | operator== (const AugmentedForm &right) const |
Operator porównania. | |
const Matrix & | A () const |
Zwraca macierz wsp. | |
const ColumnVector & | b () const |
Zwraca wektor ograniczeń. | |
const ColumnVector & | c () const |
Zwraca wektor kosztów. | |
int | ActualVariables () const |
Zwraca liczbę zmiennych znaczących. | |
int | m () const |
Zwraca liczbę ograniczeń. | |
int | n () const |
Zwraca liczbę zmiennych. | |
Przyjaciele | |
wxTextOutputStream & | operator<< (wxTextOutputStream &os, const AugmentedForm &augmentedForm) |
Operator wysłania do strumienia. |
|
Konstruktor.
|
|
Konstruktor.
|
|
Konstruktor kopiujący.
|
|
Zwraca macierz wsp. funkcji ograniczeń |
|
Operator przypisania.
|