You just add a new objective with += in the same way you added it in the beginning the old objective will be replaced.
You can also use LpProblem.set objective() which does the same thing or use the LpProblem.sequentialSolve () function which takes a list of objectives and tolerances and does what you want to do.
Stu
--
You received this message because you are subscribed to the Google Groups "pulp-or-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pulp-or-discu...@googlegroups.com.
To post to this group, send email to pulp-or...@googlegroups.com.
Visit this group at http://groups.google.com/group/pulp-or-discuss.
For more options, visit https://groups.google.com/d/optout.
Visit this group at https://groups.google.com/group/pulp-or-discuss.
--
You received this message because you are subscribed to a topic in the Google Groups "pulp-or-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pulp-or-discuss/9UJhy45UM_Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pulp-or-discu...@googlegroups.com.