Kernel-function based algorithms for semidefinitie optimization