the first version for MPRGP, the solve method is not implemented yet.