how to invert a variable
Posted: Sat Feb 25, 2017 6:01 am
Hi all,
we know that there is a function to calculate the inverse of a matrix in GAMS, but how can we calculate the inverse of a variable ?
For instance, in the middle of our optimization process, we have the values of the variable B
B has two indices B(n*n)
And we want to calculate the inverse of B.
we know that there is a function to calculate the inverse of a matrix in GAMS, but how can we calculate the inverse of a variable ?
For instance, in the middle of our optimization process, we have the values of the variable B
B has two indices B(n*n)
And we want to calculate the inverse of B.