Re: Constructing a PWL for Maximization Problem

Hi,

in order to help with the initial positions you could use warm start :

https://www.ibm.com/developerworks/community/forums/html/topic?id=75766584-44c5-4400-977f-03363feea776

About your switches, why not using logical constraints ?

You are allowed to write

constraint_1 :(P+N >= 0) => (Switch == 0);
constraint_2 :!(P+N >= 0) => (Switch == -N); //(negation constraint)

regards

Source: Re: Constructing a PWL for Maximization Problem