Open-source C++ implementation of the recently proposed online active set strategy
GNU Lesser General Public License v2.1
365
stars
127
forks
source link
Initialise the problem with initial Homotopy (guess) is not available in python interface #76
Open
svigerske opened 4 years ago
Issue created by migration from Trac.
Original creator: mahesh.kumar
Original creation time: 2017-10-12 17:59:11
Assignee: ferreau
Version: 3.2.1
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