Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: HussainKharoda
I have a feasible solution to a minimiztion Integer Program. How do I pass this initial solution or set upper bound on objective function in cplex using cplex.Cplex() python API ?
See the reference documentation for Cplex.MIP_starts.add(). This also has a few code examples. Basically, you have to pass the list of variables for which you have values and the list of respective values in a SparsePair instance.