> I use MatLab as my interface to the Gurobi solver. I understand that Gurobi
> 5.0 also has a MatLab interface, which is excellent news!
> However, after looking in the Gurobi MatLab Reference Manual online, I
> cannot find the Gurobi attribute/parameter which will allow me to
> input/specify the initial vector, specifically for the MatLab interface!
>
> I would be very grateful if you would please guide me as to how I can input
> the initial vector for a Gurobi quadratic programming problem, via the
> MatLab interface, i.e. which parameter of the solver input would it be?!
Hi Ahmad,
If you don't alter the constraints too much, you might be able to warm
start using an advanced basis from a previous solve. This can be done
in the MATLAB interface with the VBasis and CBasis attributes. These
are described in the MATLAB reference manual and the Attribute page of
the documentation:
http://www.gurobi.com/documentation/5.0/reference-manual/node652#sec:Attributes
Note that this approach is different than specifying an initial input vector.
This MATLAB example shows how to use VBasis and CBasis with an LP:
http://www.gurobi.com/documentation/5.0/example-tour/node159
Since you are solving a QP you will have to use the simplex method to
get VBasis and CBasis. That is, you must set the Method parameter to 1
or 0. Note that it may be faster to solve each QP from scratch using
barrier than to warm start simplex. You'll have to experiment
yourself.
You might also consider switching to Python (or one of the other
programming language interfaces). These interfaces allow you to more
easily modify a model.
Chris