<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">Dear List,</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">In pricing process, i want to check if a transformed variable has a binary</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">type, and logically it is so, but when i use SCIPvarIsBinary(colVar),</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">it returns false ! </pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">I used SCIPvarGetType(colVar) to get the type of the variable, and it returns 0,</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">meaning that, the colVar is binary variable.</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">From the solver messsage, it shows that all</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">problems (transformed/origin) contains only binary variables</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">Any explanations will be grateful</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);"><br></pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">Kind regards</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">---</pre><pre style="line-height: 21.30000114440918px; white-space: normal; color: rgb(68, 68, 68); background-color: rgb(255, 255, 255);">Abdelkader Ouali</pre>                                         </div></body>
</html>