save and use only Q while checking

This commit is contained in:
kalmarek 2018-12-05 10:25:43 +01:00
parent f22c4c9192
commit 2e2add905b

View File

@ -112,14 +112,14 @@ if !isfile(SOLUTION_FILE)
info("Reconstructing P...")
@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
info("Checking the sum of squares solution for 36(Adj₅ + $K·Op₅) - $LAMBDA·Δ₅")
P, λ = load(SOLUTION_FILE, "P", "λ")
info("Computing Q = √P")
@time const Q = real(sqrtm(P));
Q, λ = load(SOLUTION_FILE, "Q", "λ")
function SOS_residual(eoi::GroupRingElem, Q::Matrix)
RG = parent(eoi)