def solve(self): print "solving..." print self.cvxProgramString self.parserObj = cvxParser() #create a parser class and hen call the aprse function on it. self.parserObj.parse(self.cvxProgramString)
def parse(self): self.parserObj = cvxParser() #create a parser class and hen call the aprse function on it. self.parserObj.parse(self.cvxProgramString)