Hi - Given a decision variable x, I was wondering if I could impose the following type of constraint:
(|x| / v) >= round(to nearest 100)
where v is a vector of same size as x.
I am trying to round each of the LHS entry to the nearest 100. Thank you.
Hi - Given a decision variable x, I was wondering if I could impose the following type of constraint:
(|x| / v) >= round(to nearest 100)
where v is a vector of same size as x.
I am trying to round each of the LHS entry to the nearest 100. Thank you.
That is non-convex. So you will need to introduce binary variables to handle it.
I suggest you search at https://or.stackexchange.com/ , and ask for assistance there if needed.