ROOT
Version v6.32
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
▼
math
doc
►
fftw
►
foam
►
fumili
►
genetic
►
genvector
►
mathcore
►
mathmore
►
matrix
►
minuit
►
minuit2
►
mlp
►
physics
▼
quadp
►
inc
▼
src
►
TGondzioSolver.cxx
►
TMehrotraSolver.cxx
►
TQpDataBase.cxx
►
TQpDataDens.cxx
►
TQpDataSparse.cxx
►
TQpLinSolverBase.cxx
►
TQpLinSolverDens.cxx
►
TQpLinSolverSparse.cxx
►
TQpProbBase.cxx
►
TQpProbDens.cxx
►
TQpProbSparse.cxx
►
TQpResidual.cxx
►
TQpSolverBase.cxx
►
TQpVar.cxx
►
rtools
►
smatrix
►
splot
►
unuran
►
vecops
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TQpProbBase.cxx
Go to the documentation of this file.
1
// @(#)root/quadp:$Id$
2
// Author: Eddy Offermann May 2004
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
/*************************************************************************
13
* Parts of this file are copied from the OOQP distribution and *
14
* are subject to the following license: *
15
* *
16
* COPYRIGHT 2001 UNIVERSITY OF CHICAGO *
17
* *
18
* The copyright holder hereby grants you royalty-free rights to use, *
19
* reproduce, prepare derivative works, and to redistribute this software*
20
* to others, provided that any changes are clearly documented. This *
21
* software was authored by: *
22
* *
23
* E. MICHAEL GERTZ gertz@mcs.anl.gov *
24
* Mathematics and Computer Science Division *
25
* Argonne National Laboratory *
26
* 9700 S. Cass Avenue *
27
* Argonne, IL 60439-4844 *
28
* *
29
* STEPHEN J. WRIGHT swright@cs.wisc.edu *
30
* Computer Sciences Department *
31
* University of Wisconsin *
32
* 1210 West Dayton Street *
33
* Madison, WI 53706 FAX: (608)262-9777 *
34
* *
35
* Any questions or comments may be directed to one of the authors. *
36
* *
37
* ARGONNE NATIONAL LABORATORY (ANL), WITH FACILITIES IN THE STATES OF *
38
* ILLINOIS AND IDAHO, IS OWNED BY THE UNITED STATES GOVERNMENT, AND *
39
* OPERATED BY THE UNIVERSITY OF CHICAGO UNDER PROVISION OF A CONTRACT *
40
* WITH THE DEPARTMENT OF ENERGY. *
41
*************************************************************************/
42
43
#include "
TQpProbBase.h
"
44
45
////////////////////////////////////////////////////////////////////////////////
46
///
47
/// \class TQpProbBase
48
///
49
/// default general problem formulation:
50
///
51
/// minimize c' x + ( 1/2 ) x' * Q x ;
52
/// subject to A x = b ;
53
/// clo <= C x <= cup ;
54
/// xlo <= x <= xup ;
55
///
56
////////////////////////////////////////////////////////////////////////////////
57
58
ClassImp
(
TQpProbBase
);
59
60
////////////////////////////////////////////////////////////////////////////////
61
/// Default constructor
62
63
TQpProbBase::TQpProbBase
()
64
{
65
fNx
= 0;
66
fMy
= 0;
67
fMz
= 0;
68
}
69
70
71
////////////////////////////////////////////////////////////////////////////////
72
/// Constructor
73
74
TQpProbBase::TQpProbBase
(
Int_t
nx
,
Int_t
my
,
Int_t
mz
)
75
{
76
fNx
=
nx
;
77
fMy
=
my
;
78
fMz
=
mz
;
79
}
80
81
82
////////////////////////////////////////////////////////////////////////////////
83
/// Copy constructor
84
85
TQpProbBase::TQpProbBase
(
const
TQpProbBase
&
another
) :
TObject
(
another
)
86
{
87
*
this
=
another
;
88
}
89
90
91
////////////////////////////////////////////////////////////////////////////////
92
/// Assignment operator
93
94
TQpProbBase
&
TQpProbBase::operator=
(
const
TQpProbBase
&
source
)
95
{
96
if
(
this
!= &
source
) {
97
TObject::operator=
(
source
);
98
fNx
=
source
.fNx;
99
fMy
=
source
.fMy;
100
fMz
=
source
.fMz;
101
}
102
return
*
this
;
103
}
ClassImp
#define ClassImp(name)
Definition
Rtypes.h:377
TRangeDynCast
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Definition
TCollection.h:358
TQpProbBase.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
TObject::operator=
TObject & operator=(const TObject &rhs)
TObject assignment operator.
Definition
TObject.h:296
TQpProbBase
default general problem formulation:
Definition
TQpProbBase.h:89
TQpProbBase::fMz
Int_t fMz
Definition
TQpProbBase.h:94
TQpProbBase::fNx
Int_t fNx
Definition
TQpProbBase.h:92
TQpProbBase::fMy
Int_t fMy
Definition
TQpProbBase.h:93
TQpProbBase::TQpProbBase
TQpProbBase()
Default constructor.
Definition
TQpProbBase.cxx:63
TQpProbBase::operator=
TQpProbBase & operator=(const TQpProbBase &source)
Assignment operator.
Definition
TQpProbBase.cxx:94
int
math
quadp
src
TQpProbBase.cxx
ROOT v6-32 - Reference Guide Generated on Fri Feb 28 2025 04:22:57 (GVA Time) using Doxygen 1.10.0