how to invert a variable

Problems with modeling
mosalari
User
User
Posts: 5
Joined: 9 months ago

how to invert a variable

Postby mosalari » 8 months ago

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.

User avatar
Renger
Posts: 47
Joined: 1 year ago

Re: how to invert a variable

Postby Renger » 7 months ago

Hi Mosalari

A quick search at gams.com https://www.gams.com/search/?q=invert points to topics that answer your question (so read the guidelines under "Rules" before you post ;) )

Renger


Who is online

Users browsing this forum: No registered users and 1 guest