Open etheban opened 4 years ago
If you need another function add it but the behaviour of methods should not be changed without a good reason.
What do you mean? It's exactly the way it is in the stable and has probably always been like this.
Still a bad implementation created before the implementation of table in MATLAB.
Let's use evaluate as defined in worker and if you need another dedicate method (i.e. rename the current one) is fine.
I don't particularly like evaluate@opencossan.worker.Worker
Get Outlook for Androidhttps://aka.ms/ghei36
From: Jasper Behrensdorf notifications@github.com Sent: Saturday, May 23, 2020 11:27:28 AM To: cossan-working-group/OpenCossan OpenCossan@noreply.github.com Cc: Edoardo Patelli edoardo.patelli@strath.ac.uk; Author author@noreply.github.com Subject: Re: [cossan-working-group/OpenCossan] Optimisation/constraint evalutate not comply with worker policy (#36)
If you need another function add it but the behaviour of methods should not be changed without a good reason.
What do you mean? It's exactly the way it is in the stable and has probably always been like this.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcossan-working-group%2FOpenCossan%2Fissues%2F36%23issuecomment-633022263&data=02%7C01%7Cedoardo.patelli%40strath.ac.uk%7C509606146ed84444979c08d7ff03e5b2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C637258264513527247&sdata=epRKvGVxJBqO34OpGbGou9p5A4%2FOFYyKhIBLBi%2FstdA%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADBXT42O32Q6NAB24SI3AB3RS6QJBANCNFSM4NIMDPPA&data=02%7C01%7Cedoardo.patelli%40strath.ac.uk%7C509606146ed84444979c08d7ff03e5b2%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C637258264513527247&sdata=zM1f08qyrr%2BuEKGSMgG6k92FfHVZ7ypjS33oVuKLsAg%3D&reserved=0.
Tutorials optimisation do not work.
Evaluate methods of ObjectiveFunction and Constraint should work at least like the other workers.
TableOutput=evaluate(workerObject,TableInput);
If you need another function add it but the behaviour of methods should not be changed without a good reason.
The current method evaluate of ObjectiveFunction and Constraint should be renamed. e.d evaluate@ObjectiveFunction -> ANYOTHERNAME@ObjectiveFunction