The Newton log-sigmoid method in constrained optimization