MCPcopy Index your code
hub / github.com/andeya/algorithm / Cp

Function Cp

cvx/cp.go:389–498  ·  view source on GitHub ↗

Solves a convex optimization problem with a linear objective minimize f0(x) subject to fk(x) <= 0, k = 1, ..., mnl G*x <= h A*x = b. f is vector valued, convex and twice differentiable. The linear inequalities are with respect to a cone C defined as the Cartesian product of N + M + 1 con

(F ConvexProg, G, h, A, b *matrix.FloatMatrix, dims *sets.DimensionSet, solopts *SolverOptions)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestCpFunction · 0.85
GpFunction · 0.85

Calls 15

checkConeLpDimensionsFunction · 0.85
newEpigraphFunction · 0.85
factorFunction · 0.85
cp_problemFunction · 0.85
SumSquaredMethod · 0.80
mMethod · 0.80
GetSubMatrixMethod · 0.80
F0Method · 0.65
ColsMethod · 0.65
SetMethod · 0.65
RowsMethod · 0.65
SizeMatchMethod · 0.65

Tested by 1

TestCpFunction · 0.68