<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    George, this may be completely dopey, but if one added a slack z to
    the objective, and equations<br>
    z<=1, z>=a-b, z>= b-a, z=1-c   (or some suitable
    simplification), that might work..<br>
    <br>
    <div class="moz-cite-prefix">George Nychis wrote:<br>
    </div>
    <blockquote
cite="mid:CA+7oygdfkwa-00SaWATem+5hyUqRb2qboAqqRgBWumMJtn+hCA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">This might be slightly off-topic, but I don't know
        where better to ask.  I'm having a hard time expressing
        something in ZIMPL linearly. I have two variables a and b. I
        want the variable c to be strictly binary and take on the value
        of 1 when a and b are equal, and 0 otherwise. Does anyone know
        of a good way to express this?
        <div>
          <br>
        </div>
        <div>Thanks!</div>
        <div>George</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Scip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Scip@zib.de">Scip@zib.de</a>
<a class="moz-txt-link-freetext" href="http://listserv.zib.de/mailman/listinfo/scip">http://listserv.zib.de/mailman/listinfo/scip</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>