<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 02-06-13 17:38, Barry Dresdner
      wrote:<br>
    </div>
    <blockquote
      cite="mid:24621278.1127648.1370187538434.JavaMail.root@vms170019"
      type="cite">
      <div style="FONT-FAMILY: Arial; COLOR: #000000; FONT-SIZE: 12px"><span>Hi
          - Forgive me if this not the correct mailing list for my
          questions.<br>
        </span></div>
    </blockquote>
    For OptaPlanner (=Drools Planner) this is the correct mailing list
    :)<br>
    We 'll be moving to our own mailing list / webforum soon.<br>
    <blockquote
      cite="mid:24621278.1127648.1370187538434.JavaMail.root@vms170019"
      type="cite">
      <div style="FONT-FAMILY: Arial; COLOR: #000000; FONT-SIZE: 12px"><span><br>
          I'm looking for information about OptaPlanner, but first some
          background.&nbsp; I am using Activiti for BPMN workflows.&nbsp; Activiti
          uses RESTful services to retrieve tasks.&nbsp; I also use Alfresco
          to check a calendar against resources to prevent double
          tasking, etc.&nbsp; <br>
          <br>
          So I am wondering if OptaPlanner can be used to create a
          schedule</span></div>
    </blockquote>
    Yes, task assignment (~ workforce scheduling) is a common problem
    talked by OptaPlanner.<br>
    That calendar resource(s) is probably part of the planning problem,
    because it sounds like your constraints need it.<br>
    See the quick start (docs) and the curriculum course example for
    inspiration.<br>
    <blockquote
      cite="mid:24621278.1127648.1370187538434.JavaMail.root@vms170019"
      type="cite">
      <div style="FONT-FAMILY: Arial; COLOR: #000000; FONT-SIZE: 12px"><span>
          and push it into Activiti.</span></div>
    </blockquote>
    That glue code you'll need to write yourself. Since it's all POJO
    based, that shouldn't be hard.<br>
    <br>
    OptaPlanner doesn't care where those POJO's come from and where they
    go to: XML (XStream, JAXB, ...), JPA (Hibernate, ...), ... it's all
    good.<br>
    <br>
    If you want a lot of features in that integration glue code, camel
    might be a good idea. One day we might create optaplanner-camel to
    expose OptaPlanner as a REST/SOAP service (but that's pull based,
    not push IIRC).<br>
    <blockquote
      cite="mid:24621278.1127648.1370187538434.JavaMail.root@vms170019"
      type="cite">
      <div style="FONT-FAMILY: Arial; COLOR: #000000; FONT-SIZE: 12px"><span>&nbsp;
          I don't necessarily want complete automation as I'd like to be
          able to use a user interface to view what the scheduler came
          up with and allow users to change as needed 9even if there are
          scheduling errors).<br>
        </span></div>
    </blockquote>
    Yes, that's a typical use case: Generate the planning with
    OptaPlanner but allow user's to change the result afterwards.<br>
    In OptaPlanner you can even go further: You can make specific
    assignments "immovable" (see docs), so OptaPlanner doesn't move them
    if the user has locked an assignment.<br>
    Or even semi-immovable: OptaPlanner can move it, but at the
    expensive of a Score penalty (so only if there's enough gain in
    moving it).<br>
    <br>
    Also look for "guiScoreDirector" in the docs.<br>
    <blockquote
      cite="mid:24621278.1127648.1370187538434.JavaMail.root@vms170019"
      type="cite">
      <div style="FONT-FAMILY: Arial; COLOR: #000000; FONT-SIZE: 12px"><span><br>
          Thanks for any assistance.&nbsp; - Barry <br>
        </span></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>