| MATLAB Central > MATLAB Newsreader > Matlab linprog -" LINPROG only accepts inputs of d... |
|
|
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type double." error From: Andrew Alkiviades Date: 21 Jun, 2012 21:05:49 Message: 1 of 20 |
|
Hi, I have the following code |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type double." error From: Matt J Date: 21 Jun, 2012 21:52:07 Message: 2 of 20 |
|
Andrew Alkiviades <andrew.alkiviades@gmail.com> wrote in message <ba952f9c-acbc-4b14-aeff-563c18b64a76@googlegroups.com>... |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 21 Jun, 2012 21:55:26 Message: 3 of 20 |
|
On Thursday, 21 June 2012 22:52:07 UTC+1, Matt J wrote: |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Matt J Date: 21 Jun, 2012 22:14:07 Message: 4 of 20 |
|
Andrew Alkiviades <andrew.alkiviades@gmail.com> wrote in message <3a4c1a61-11a5-476f-8fb1-45f677315173@googlegroups.com>... |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 21 Jun, 2012 23:35:43 Message: 5 of 20 |
|
On Thursday, 21 June 2012 23:14:07 UTC+1, Matt J wrote: |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 21 Jun, 2012 23:20:13 Message: 6 of 20 |
|
Matt Im not quite sure what you mean. I have called linprog within the for loop? What do you mean by saving the data for later? |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Matt J Date: 22 Jun, 2012 07:57:07 Message: 7 of 20 |
|
It seems to me that you want to be saving the different 2x1 solutions returned by linprog in a 27x3 cell array x{i,j}, so that you can access the solutions later. There is no clear reason to be storing the PV,WT input data in a cell A{i,j} because you can already obtain any combination of this data through your existing matrices PV_output and WT_ouput. |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 22 Jun, 2012 11:27:11 Message: 8 of 20 |
|
On Thursday, 21 June 2012 22:05:49 UTC+1, Andrew Alkiviades wrote: |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Torsten Date: 22 Jun, 2012 11:52:08 Message: 9 of 20 |
|
|
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 22 Jun, 2012 12:07:15 Message: 10 of 20 |
|
Thanks but now I get the following error |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Matt J Date: 22 Jun, 2012 12:30:08 Message: 11 of 20 |
|
Andrew Alkiviades <andrew.alkiviades@gmail.com> wrote in message <5c38653b-9325-497e-ab81-71de398d2649@googlegroups.com>... |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Torsten Date: 22 Jun, 2012 12:33:16 Message: 12 of 20 |
|
On 22 Jun., 14:07, Andrew Alkiviades <andrew.alkivia...@gmail.com> |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 22 Jun, 2012 15:07:25 Message: 13 of 20 |
|
On Friday, 22 June 2012 13:33:16 UTC+1, Torsten wrote: |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Matt J Date: 22 Jun, 2012 15:13:07 Message: 14 of 20 |
|
Andrew Alkiviades <andrew.alkiviades@gmail.com> wrote in message <b5e675b3-4183-4e9b-9d71-4c548afca056@googlegroups.com>... |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 22 Jun, 2012 15:49:07 Message: 15 of 20 |
|
Hi, now I am really confused since I also need a PV_OM. WT_OM, CC_PV and CC_WT that is specific for each of the 27 and 3 PVs and WT respectively. I currently have them as constants temporarily but do you know how I could code for this (assuming the expression is PV_OM = PVenergy*constant |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 22 Jun, 2012 15:24:04 Message: 16 of 20 |
|
well, I have f as |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Matt J Date: 22 Jun, 2012 17:35:07 Message: 17 of 20 |
|
Andrew Alkiviades <andrew.alkiviades@gmail.com> wrote in message <b7031972-34a0-4ad6-8a88-323296179588@googlegroups.com>... |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Matt J Date: 22 Jun, 2012 18:15:07 Message: 18 of 20 |
|
"Matt J" wrote in message <js2acb$lkv$1@newscl01ah.mathworks.com>... |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Andrew Alkiviades Date: 23 Jun, 2012 18:21:02 Message: 19 of 20 |
|
On Friday, 22 June 2012 19:15:07 UTC+1, Matt J wrote: |
|
Subject: Matlab linprog -" LINPROG only accepts inputs of data type From: Matt J Date: 23 Jun, 2012 19:47:06 Message: 20 of 20 |
|
Andrew Alkiviades <andrew.alkiviades@gmail.com> wrote in message <81fd6c7b-f319-487a-b455-240c9b43546a@googlegroups.com>... |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
