pysolver_view.roots.problems.logarithmic_domain module#

class pysolver_view.roots.problems.logarithmic_domain.LogarithmicDomainProblem(n=10)[source]#

Bases: BenchmarkProblem

Coupled positive-domain logarithmic equations with an analytically known root.

F(x) = log(x) + C @ (x - 1), C = .05*I + .05*ones/n. The all-ones root is unique because the Jacobian is positive definite throughout the positive orthant. Starting at x=10 produces a Newton trial with negative coordinates, making this an explicit model-domain recovery test. It is a mathematical surrogate for fragile property evaluations, not a thermodynamic model.

gradient(x)[source]#

Return the positive-definite dense Jacobian at a valid model point.

residual(x)[source]#

Return the dense coupled logarithmic residual inside the positive domain.

source = 'Constructed coupled logarithmic domain-recovery control.'#