Interior Point Method Algorithm Definition In Python