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

Function Socp

cvx/solvers.go:143–275  ·  view source on GitHub ↗

Solves a pair of primal and dual SOCPs minimize c'*x subject to Gl*x + sl = hl Gq[k]*x + sq[k] = hq[k], k = 0, ..., N-1 A*x = b sl >= 0, sq[k] >= 0, k = 0, ..., N-1 maximize -hl'*z - sum_k hq[k]'*zq[k] - b'*y subject to Gl'*zl + sum_k Gq[k]'*zq[k] + A'*y + c = 0 zl >= 0, zq[k] >= 0, k = 0

(c, Gl, hl, A, b *matrix.FloatMatrix, Ghq *sets.FloatMatrixSet, solopts *SolverOptions,
	primalstart, dualstart *sets.FloatMatrixSet)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

SetMethod · 0.95
SetMethod · 0.95
ConeLpFunction · 0.85
RowsMethod · 0.65
ColsMethod · 0.65
SizeMatchMethod · 0.65
AtMethod · 0.45
FloatArrayMethod · 0.45
AppendMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected