Is it possible at this stage of the Optaplanner workbench, to illustrate Chained planing entities ? I am dealing with a routing problem that has to decide physical paths of links for assigning overlay links.
Thanks in advance!
No, OptaPlanner Workbench 6.4.0.Final does not support chained planning variables yet.
A future version will support it.
Related
I have a question about OptaPlanner. In the examples are an example called PatientAdmissionSchedule and it's based on an domain model. It's possible to build the domain model a little bit more dynamic with generics? I would like to figure the domain model but it's must be for some use case different in some relations and entities.
Has optaplanner for dynamic domain models an own schema which I can use?
With optaplanner workbench you can design a model at runtime in the webUI and deploy it as a jar to optaplanner execution server.
If you want to programmatically control the reflection, we don't officially support that yet: create an issue and hack SolutionDescriptor, EntityDescriptor and VariableDescriptor.
I'm doing some comparisons and a presentation tomorrow with different BPMS systems and I was reading about the difference between jbPM (the source engine that was used to build Activiti) and the Activiti engine. Can someone tell what is the caution of jBpm having the native built-in business Rules engine where Activiti has no native rule engine support but supports a basic integration with Drools to support the business Rule Task?
This is a real important question for me so a quick response to this would be great.
Thanks
Well, a couple of clarifications about your statements:
jBPM 5 and 6 are not related with Activiti at all. They are completely different engines.
Drools and jBPM 5/6 were built together to work from the ground up. This allows you to go one step further when you model your business assets. If you are only looking at business processes, then jBPM and Activiti do provide similar features. But the case is that most of the time, after implementing your first of processes you realise that you need more flexibility and Rules (a Rule Engine) becomes a must in your infrastructure. So it obviously depends on what you are looking for to do with the Engine(s).
HTH
PS: by the way I've written this blog post very long time ago, but it still applies: http://salaboy.com/2011/01/19/jbpm5-vs-activiti5-dumb-question/
I am new to this thing and want to use Opta Planner in my project to Solve Vehicle Routing Problem. Can anyone guide me step by step how to use it, it would be great.
Thanks
In the current version (7.7) the docs have a quick start that explains the concepts on another use case and then see the VRP implementation example.
For a future version, we intend to make implementing/modeling VRP even simpler by supporting a Vehicle.visitList style model.
Can anyone give/point me to 'official references' about component inheritance support in Nhibernate 3.10 ?
Already google it, but never find any reference about that.
Thanks
NHibernate (and Hibernate for that matter) does not support component inheritance out of the box. You have two relatively unpleasant options:
Map hierarchy as entities.
Write custom hydration/dehydration code using IUserType. This workaround is described in this article
(java, but should work for C#).
In the mean time you can vote for this feature to be implemented in Hibernate and maybe some day ported to NHibernate. NHibernate version of this feature request.
Here there's some doc but I'm not sure if this can help you:
https://ayende.com/blog/3941/nhibernate-mapping-inheritance
Updated
I think it's not possible! look here:
https://stackoverflow.com/q/3739806/735864
Can anyone throw some light on tools that can be used with NHibernate and which perform the below mentioned tasks:
Generates the Mapping File
Generates the Entity Class
Generates the Configuration file
And also provide information whether these tools are open source or licensed.
Thanks
One tool I've used that did a decent job was CodeSmith. It looked at the existing database and created the entities, mappings and configuration file. However, this is only to be used as a starting point as there are many tweaks you'll likely want to do to make it more usable and better performing. Things such as when to lazy load vs. eager load, creating subclasses or components. This tool really just mimics the database structure in your entities which is not always the best way to represent in code.
This is a licensed solution but it includes a fully functional demo you can use to gen your files initially. After that, you'll most likely just enhance just as you would your database.
Another is MyGeneration. Same thing, it'll get you 75% of the way there in most cases.
Just be cautious as to which version of NHibernate these tools are producing. They may be using an older version which may have some obsolete code.
I really like Visual NHibernate (http://www.slyce.com/VisualNHibernate/).
Not free, but has a nice set of features, including the definition of templates for the entities, and generating both HBM.XML as well as Fluent NHibernate mappings.
A similar question with some answers you might find useful is already on SO.
NHibernate Generators
As mentioned in that question's answers, fluent NHibernate is a good option. It just went RTM. You can find more info at http://fluentnhibernate.org/
Check out LLBLGen Pro. It's got a competing ORM but can also act as a code generator for nhibernate. Very good for DB first work.