-
Hi, I have a question about variables unique indices ordering in the original problem space and in the transformed problem space. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @th-yoon , SCIP keeps track of two problems internally:
Each problem then contains, among other things, a list of variables ( In general, I think most variables from the original problem (say, I believe SCIP has a way to map variables to/from the original and transformed spaces (see for example I hope that helps, Best, |
Beta Was this translation helpful? Give feedback.
Hi @th-yoon ,
SCIP keeps track of two problems internally:
scip->origprob
)scip->transprob
)Each problem then contains, among other things, a list of variables (
prob->vars
array). The index of a variable then directly indicates the position of that variable in the array where it is stored, and variable are problem-specific (a variable belongs to one problem only). Hence, variable indices are unique only within a specific problem.In general, I think most variables from the original problem (say,
x25
) will have an equivalent transformed variable in the transformed problem (t_x25
), and probably the indices of the variables will be correlated.…