save and use only Q while checking
This commit is contained in:
parent
f22c4c9192
commit
2e2add905b
@ -112,14 +112,14 @@ if !isfile(SOLUTION_FILE)
|
|||||||
|
|
||||||
info("Reconstructing P...")
|
info("Reconstructing P...")
|
||||||
@time P = PropertyT.reconstruct(Ps, orbit_data);
|
@time P = PropertyT.reconstruct(Ps, orbit_data);
|
||||||
save(SOLUTION_FILE, "λ", λ, "P", P)
|
info("Computing Q = √P")
|
||||||
|
@time const Q = real(sqrtm(P));
|
||||||
|
|
||||||
|
save(SOLUTION_FILE, "λ", λ, "Q", Q)
|
||||||
end
|
end
|
||||||
|
|
||||||
info("Checking the sum of squares solution for 36(Adj₅ + $K·Op₅) - $LAMBDA·Δ₅")
|
info("Checking the sum of squares solution for 36(Adj₅ + $K·Op₅) - $LAMBDA·Δ₅")
|
||||||
P, λ = load(SOLUTION_FILE, "P", "λ")
|
Q, λ = load(SOLUTION_FILE, "Q", "λ")
|
||||||
|
|
||||||
info("Computing Q = √P")
|
|
||||||
@time const Q = real(sqrtm(P));
|
|
||||||
|
|
||||||
function SOS_residual(eoi::GroupRingElem, Q::Matrix)
|
function SOS_residual(eoi::GroupRingElem, Q::Matrix)
|
||||||
RG = parent(eoi)
|
RG = parent(eoi)
|
||||||
|
Loading…
Reference in New Issue
Block a user