On 5/20/2011 3:39 AM, Toan Cao wrote:
>
>> I am sorry, but I do not understand you.
>>
>> Did you form two different optimization problems, and solve them
>> separately, or did you form a goal attainment problem?
>>
>> Which solver did you use? How did you call it (what was the syntax)?
>>
>> What exactly is unsatisfactory (what makes you think a solution is
>> "false")?
>>
>> Alan Weiss
>
> Dear Alan Weiss,
>
> I have a problem but i design two methods for this problem. Each method
> is expressed by own function but they use the same variables (a variable
> vector consists of 4 variables).
> Normally, a problem is solved by a method. However, in my case, i have
> two methods for one problem. Then i use the solver "fgoalattain" with
> goal vector: [0 0] and weight vector: [1 1]. i hope that with this way,
> i can obtain variable vector which reflect exactly the problem .
> looking forward to your reply !
> Best regards,
> Toan
I am sorry, I do not understand you.
Can you please give an example of your function calls, their returns,
and what you think is wrong?
For example,
function myobjective1 = objective1(x)
sample code here, it does not have to be your real code, but something
that can help us understand what you are doing
function myobjective2 = objective2(x)
sample code here
options = optimset(your option settings)
x = fgoalattain(your inputs)
fgoalattain messages here
***Your explanation of what is unsatisfactory here.***
***This is very important, otherwise we don't know why you are asking
for help***
Alan Weiss
MATLAB mathematical toolbox documentation
