$a=k.B$, where $a$, $B$ (binary), $k$ all are scaler variables.
When $B=0$, $a=0$; and when $B=1$, $a=k$.
$B$ is binary, i.e., $0$ or $1$.
$k$ is $0$ or positive integer, i.e., $0, 1, 2, 3, 4...$
How to decompose it in Linear Programming so that two variables are not in multiplication format?
Is it even possible?
As the question is on hold and I got how to do it, I'm posting it here in the question itself. The link is given in the comment of this question by Erwin Kalvelagen.
$0 \le a \le k_{max}$
$a \le k_{max}.B$
$a \le k$
$a \ge k - k_{max}(1-B)$
a=k=4), B is binary (eg:B=1orB=0) – Dr.PB Mar 16 '18 at 18:52a<=MBlower limitsa=0whenB=0,whereMis large number (constant). But whenB=1, how to makea=k? Yes it is or conditions, but not in binary. – Dr.PB Mar 17 '18 at 04:36