[jira] Commented: (MATH-351) SimplexSolver fails to solve feasible problem instance
[ https://issues.apache.org/jira/browse/MATH-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852538#action_12852538 ] Mark Thomas commented on MATH-351: -- I haven't had a chance yet to verify for myself that this works on 2.1, but if it works for you, Luc and you consider the epsilon discussion a separate issue, I'm happy with closing this as invalid (especially if it will lead to an earlier release of 2.1 =). For other readers, it appears that there were bug fixes for Simplex which weren't in 2.0, but have been incorporated into the trunk (see: http://issues.apache.org/jira/browse/MATH-302). If this is so, we'll want to leave this link in. Thanks guys and sorry for the mix up. Mark > SimplexSolver fails to solve feasible problem instance > --- > > Key: MATH-351 > URL: https://issues.apache.org/jira/browse/MATH-351 > Project: Commons Math > Issue Type: Bug >Affects Versions: 2.0 > Environment: Windows Vista Home Premium Version 6.0 Service Pack 1, > Build 6001 >Reporter: Mark Thomas > Fix For: 2.1 > > Attachments: image001.wmz, image017.gif, image018.wmz, image019.gif, > image020.wmz, image021.gif, image022.wmz, image023.gif, image024.wmz, > image025.gif, image026.wmz, image027.gif, image028.wmz, image029.gif, > image030.wmz, image031.gif, oledata.mso, SimplexFail.xlsx, > TestSimplexFail.java > > > SimplexSolver throws an UnboundedSolutionException on a problem instance I > can optimally solve with Excel's Solver. I've kept the parameters between the > two programs the same as far as I can tell (i.e. both have a > precision/epsilon value of 1e-6 and a maxIterations value of 1000). I will > attach a JUnit test with an example problem on which SimplexSolver fails. I > will also attach an Excel spreadsheet wtih the same data and successful > Solver setup in place. > I don't know a whole lot about linear programming or Simplex, but the problem > I'm attempting to solve does appear to have a fairly sparse coefficient > matrix, which may be part of the problem. > It's surprisingly difficult to find a Java-based linear programming library, > so I was ecstatic when I found this. Let me know how I can help! > Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (MATH-351) SimplexSolver fails to solve feasible problem instance
[ https://issues.apache.org/jira/browse/MATH-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12852489#action_12852489 ] Luc Maisonobe commented on MATH-351: Jurgen, your last comment on this issue is impossible to read, the images containing the equations are not inlined in the text (at least not with firefox on Linux). Could you rewrite it in simple raw text ? Mark, do you agree to close the issue as invalid ? > SimplexSolver fails to solve feasible problem instance > --- > > Key: MATH-351 > URL: https://issues.apache.org/jira/browse/MATH-351 > Project: Commons Math > Issue Type: Bug >Affects Versions: 2.0 > Environment: Windows Vista Home Premium Version 6.0 Service Pack 1, > Build 6001 >Reporter: Mark Thomas > Fix For: 2.1 > > Attachments: image001.wmz, image017.gif, image018.wmz, image019.gif, > image020.wmz, image021.gif, image022.wmz, image023.gif, image024.wmz, > image025.gif, image026.wmz, image027.gif, image028.wmz, image029.gif, > image030.wmz, image031.gif, oledata.mso, SimplexFail.xlsx, > TestSimplexFail.java > > > SimplexSolver throws an UnboundedSolutionException on a problem instance I > can optimally solve with Excel's Solver. I've kept the parameters between the > two programs the same as far as I can tell (i.e. both have a > precision/epsilon value of 1e-6 and a maxIterations value of 1000). I will > attach a JUnit test with an example problem on which SimplexSolver fails. I > will also attach an Excel spreadsheet wtih the same data and successful > Solver setup in place. > I don't know a whole lot about linear programming or Simplex, but the problem > I'm attempting to solve does appear to have a fairly sparse coefficient > matrix, which may be part of the problem. > It's surprisingly difficult to find a Java-based linear programming library, > so I was ecstatic when I found this. Let me know how I can help! > Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DAEMON-158) Copyright symbol is garbled in About box and in exe properties in 1.0.2 release
[ https://issues.apache.org/jira/browse/DAEMON-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mladen Turk resolved DAEMON-158. Resolution: Fixed Already fixed with the 1.0.3 Check the candidates from http://people.apache.org/~mturk/daemon/ and ask Sebastian why is holding the release for almost a month. Since I really do not understand what's the deal here, we cannot do much except waiting for his blessing. > Copyright symbol is garbled in About box and in exe properties in 1.0.2 > release > --- > > Key: DAEMON-158 > URL: https://issues.apache.org/jira/browse/DAEMON-158 > Project: Commons Daemon > Issue Type: Bug >Affects Versions: 1.0.2 > Environment: Windows XP, 32-bit >Reporter: Konstantin Kolinko >Priority: Minor > Attachments: screenshot-1.jpg > > Original Estimate: 1h > Remaining Estimate: 1h > > a) > 1. Install procrun (I was testing a Tomcat build using Commons Daemon 1.0.2 > release) > 2. Right-click procrun icon in the tray area, a popup menu appears. Choose > "About" from the menu. A dialog is displayed. > The copyright message in the dialog contains several strange symbols instead > of a (C) character. > I will attach a screenshot. > b) > Right-click procrun.exe or procrunw.exe, and choose Properties... from the > popup menu. Switch to the "Version" tab. The text in the "Copyright" line > contains the same garbled characters as does the About dialog. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (DAEMON-158) Copyright symbol is garbled in About box and in exe properties in 1.0.2 release
[ https://issues.apache.org/jira/browse/DAEMON-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Kolinko updated DAEMON-158: -- Attachment: screenshot-1.jpg Screenshot. See the lines at the lower-left corner of the dialog. > Copyright symbol is garbled in About box and in exe properties in 1.0.2 > release > --- > > Key: DAEMON-158 > URL: https://issues.apache.org/jira/browse/DAEMON-158 > Project: Commons Daemon > Issue Type: Bug >Affects Versions: 1.0.2 > Environment: Windows XP, 32-bit >Reporter: Konstantin Kolinko >Priority: Minor > Attachments: screenshot-1.jpg > > Original Estimate: 1h > Remaining Estimate: 1h > > a) > 1. Install procrun (I was testing a Tomcat build using Commons Daemon 1.0.2 > release) > 2. Right-click procrun icon in the tray area, a popup menu appears. Choose > "About" from the menu. A dialog is displayed. > The copyright message in the dialog contains several strange symbols instead > of a (C) character. > I will attach a screenshot. > b) > Right-click procrun.exe or procrunw.exe, and choose Properties... from the > popup menu. Switch to the "Version" tab. The text in the "Copyright" line > contains the same garbled characters as does the About dialog. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (DAEMON-158) Copyright symbol is garbled in About box and in exe properties in 1.0.2 release
Copyright symbol is garbled in About box and in exe properties in 1.0.2 release --- Key: DAEMON-158 URL: https://issues.apache.org/jira/browse/DAEMON-158 Project: Commons Daemon Issue Type: Bug Affects Versions: 1.0.2 Environment: Windows XP, 32-bit Reporter: Konstantin Kolinko Priority: Minor a) 1. Install procrun (I was testing a Tomcat build using Commons Daemon 1.0.2 release) 2. Right-click procrun icon in the tray area, a popup menu appears. Choose "About" from the menu. A dialog is displayed. The copyright message in the dialog contains several strange symbols instead of a (C) character. I will attach a screenshot. b) Right-click procrun.exe or procrunw.exe, and choose Properties... from the popup menu. Switch to the "Version" tab. The text in the "Copyright" line contains the same garbled characters as does the About dialog. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SCXML-117) A multi-thread supported service and custom action management system for Apache Commons SCXML engine
A multi-thread supported service and custom action management system for Apache Commons SCXML engine Key: SCXML-117 URL: https://issues.apache.org/jira/browse/SCXML-117 Project: Commons SCXML Issue Type: New Feature Environment: Java environment Reporter: Gui Xunlong Abstract: Apache Commons SCXML is an implementation aimed at creating and maintaining a Java SCXML engine capable of executing a state machine defined using a SCXML document which is very useful to handler complex status transfer logic.This project aims to implement a multi-thread supported service and custom action management system for Commons SCXML. Description: State Chart XML (SCXML) provides a generic state-machine based execution environment based on Harel State Tables and is very useful to handler complex status transfer logic.Apache Commons SCXML is an implementation aimed at creating and maintaining a Java SCXML engine capable of executing a state machine defined using a SCXML document. It is just a single thread SCXML engine,if user want to implement a whole SCXML based application, he must do some secondary development jobs. This project aims to develop a open source multi-thread SCXML services management system. It includes these main function module,and this is also what i need to do: 1.Custom actions management module All the system custom actions are registered in a configuration xml named system_custom_actions.xml. Each custom action Java Class must implement interface org.apache.commons.scxml.model.Action, and write practical code in function execute(final EventDispatcher evtDispatcher, final ErrorReporter errRep, final SCInstance scInstance, final Log appLog, final Collection derivedEvents) When system initializate, load all the custom actions Class from system_custom_actions.xml,instance them and add them into system context environment.User can use this mechanism to add his own custom actions to the system Create a Java Swing based Graphics User Interface to add,modify,delete custom actions into the system. 2.Thread pool management module Use a thread pool mechanism to manage SCXML engines. The thread pool properties information is stored in a XML confiuration file named system_thread_pool.xml,it includes these attributes: min_thead_number,max_thread_number,thread_release_timespan may be some more When system initializate, it will instance several SCXML engines objects according to min_thread_number. If these thread are all busy, but one new service is start,system will start a new thread to handle this service. The thead number can not outstrip max_thread_number. If a thread has been free for a period of time which is marked by attribute thread_release_timespan,system will release this thread. 3.Service management module Every application service is a SCXML document,all the system services are registered in a configuration xml file named system_service.xml, each service has a unique id which is used to mark the service. 4.Service manage and monitor module Build a Java Swing GUI to check service list,start,stop,deploy or delete some services.And also, it has a sub system to monitor running service status,look over data in running context,reset this service or kill it. 5.Event dispatch module Implement a EventDispather class instance to send Event to the system. Each Event will contain a service id which is used to mark its owner service and specific event content. This is a whole SCXML deploy and management system. If user want to implement some SCXML based application, just write proper SCXML document and corresponding custom actions,register them in to the system,and start the service,it is done. I think it is a practical SCXML engine,it will make Apache Commons SCXML more and more popular,In fact, i have finish some function module, such as custom action management module. I think this is a proper project for GSoC under Apache Commons SCXML, but i have not a mentor yet, any one interested in it, please contact ustbco...@gmail.com -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (CONFIGURATION-413) Subset configuration does not support events
[ https://issues.apache.org/jira/browse/CONFIGURATION-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Prishchepov updated CONFIGURATION-413: Attachment: TestSubsetConfigurationEvents.java Sorry. Description is incorrect. Only some events are failing. Copied test case from TestMapConfigurationEvents. Case is failing on: testClearPropertyEvent, testClearPropertyEventWithDetails, testSetPropertyEvent and testSetPropertyEventWithDetails. > Subset configuration does not support events > > > Key: CONFIGURATION-413 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-413 > Project: Commons Configuration > Issue Type: Bug > Components: Events & Notifications >Affects Versions: 1.6 >Reporter: Alexander Prishchepov >Priority: Minor > Attachments: TestSubsetConfigurationEvents.java > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (MATH-361) Localization and Error Handling
[ https://issues.apache.org/jira/browse/MATH-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gilles updated MATH-361: Attachment: l10n.tar.gz The attached file contains a demo implementation of the proposal. When unpacked, there will be 3 base directories (each one is meant to generate a separate JAR file): - l10n_fw-cm/ Files to be added/modified in the CM distribution. - l10n_fw-nodep/ Files that implement the "no-dependence" localization framework. - l10n_fw-cal10n/ Files that implement a bridge to the "CAL10N" localization library. > Localization and Error Handling > --- > > Key: MATH-361 > URL: https://issues.apache.org/jira/browse/MATH-361 > Project: Commons Math > Issue Type: Improvement >Affects Versions: 2.1 >Reporter: Gilles >Priority: Minor > Attachments: l10n.tar.gz > > > This proposal aims at easing the handling of error during algorithms > development, and also enhancing the flexibility of the error reporting > (provide meaningful exception classes and run-time selection of the > localization formatting). > More details at > [http://www.mail-archive.com/d...@commons.apache.org/msg14570.html] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (MATH-361) Localization and Error Handling
Localization and Error Handling --- Key: MATH-361 URL: https://issues.apache.org/jira/browse/MATH-361 Project: Commons Math Issue Type: Improvement Affects Versions: 2.1 Reporter: Gilles Priority: Minor This proposal aims at easing the handling of error during algorithms development, and also enhancing the flexibility of the error reporting (provide meaningful exception classes and run-time selection of the localization formatting). More details at [http://www.mail-archive.com/d...@commons.apache.org/msg14570.html] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (MATH-351) SimplexSolver fails to solve feasible problem instance
[ https://issues.apache.org/jira/browse/MATH-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jurgen Tas updated MATH-351: Attachment: oledata.mso image031.gif image030.wmz image029.gif image028.wmz image027.gif image026.wmz image025.gif image024.wmz image023.gif image022.wmz image021.gif image020.wmz image019.gif image018.wmz image017.gif image001.wmz You are welcome! I am using the trunk version of the code. I also found that 2.0 contained some errors. In the new versions I have not found anything strange. Interesting to me is the use of epsilon. I have found that the default value of 1e-6 works fine for most problems. However, consider the following problem: The answer to this problem is trivial to find; i.e. and . However, for the case when we get a wrong answer; i.e. for we find that and (the second constraint is not satisfied), and even for no feasible solution could be found. Too me the results of this very simple problem are obvious. But how do you determine the threshold for epsilon for general problems? Do you analyze the condition number of the constraints matrix? Jurgen > SimplexSolver fails to solve feasible problem instance > --- > > Key: MATH-351 > URL: https://issues.apache.org/jira/browse/MATH-351 > Project: Commons Math > Issue Type: Bug >Affects Versions: 2.0 > Environment: Windows Vista Home Premium Version 6.0 Service Pack 1, > Build 6001 >Reporter: Mark Thomas > Fix For: 2.1 > > Attachments: image001.wmz, image017.gif, image018.wmz, image019.gif, > image020.wmz, image021.gif, image022.wmz, image023.gif, image024.wmz, > image025.gif, image026.wmz, image027.gif, image028.wmz, image029.gif, > image030.wmz, image031.gif, oledata.mso, SimplexFail.xlsx, > TestSimplexFail.java > > > SimplexSolver throws an UnboundedSolutionException on a problem instance I > can optimally solve with Excel's Solver. I've kept the parameters between the > two programs the same as far as I can tell (i.e. both have a > precision/epsilon value of 1e-6 and a maxIterations value of 1000). I will > attach a JUnit test with an example problem on which SimplexSolver fails. I > will also attach an Excel spreadsheet wtih the same data and successful > Solver setup in place. > I don't know a whole lot about linear programming or Simplex, but the problem > I'm attempting to solve does appear to have a fairly sparse coefficient > matrix, which may be part of the problem. > It's surprisingly difficult to find a Java-based linear programming library, > so I was ecstatic when I found this. Let me know how I can help! > Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.