Opened 20 months ago

#76 new user support

Initialise the problem with initial Homotopy (guess) is not available in python interface

Reported by: mahesh.kumar Owned by: ferreau
Priority: high Milestone: Release 3.3
Component: python interface Version: 3.2.1
Keywords: Cc:

Description

I have read the manual to use qpOASES library and found that we can initialise the problem with initial guess with the following method.

returnValue init( const real_t* const H,
const real_t* const g,
const real_t* const A,
const real_t* const lb,
const real_t* const ub,
const real_t* const lbA,
const real_t* const ubA,
int& nWSR,
real_t* const cputime,
const real_t* const xOpt,
const real_t* const yOpt,
const Bounds* const guessedBounds,
const Constraints* const guessedConstraints
);

But this feature is not available in the python interface. I tried to call with initial guess,

qp.init(self.H, self.G, self.A, self.lb, self.ub, self.lbA, self.ubA,np.array([self.maxNoOfIteration]), None, x_opt)

but I got the following error.
TypeError?: init() takes at most 9 positional arguments (10 given)

Is this functionality available and am I using wrongly or the functionality not available in current version?

Please add this useful feature in python interface as well

Change History (0)

Note: See TracTickets for help on using tickets.