March 6th, 2007
My brain is going dead. I've been studying for my graduate class most of the evening and actually doing the example problem in the book, because if you don't, you won't be able to work on the actual homework assignment.
There are like 20 different steps to perform on each iteration of the example, which can be like 8-20 iterations. Fortunately the homework assignment only calls for 4 iterations.
The steps for each iteration take an incredible amount of carefullness, logic (this ain't no plug n chug situation), minimization, maximization, substitution of variables, reduction of 4 variable equations, computation of these 4 variable and quadratic equations, substitution of 2 variables into another, tables of values, and lots of looking at like 5 different quations using 4 different variables to compute!
I do not like Lagrange Relaxation or any long and arduous mathematical method that I have to do by hand. I know computer programs probably do this and more!!
I got homework due thursday. I'm kind of iffy about getting it done. I should not have entertained on Monday. Oh well.
There are like 20 different steps to perform on each iteration of the example, which can be like 8-20 iterations. Fortunately the homework assignment only calls for 4 iterations.
The steps for each iteration take an incredible amount of carefullness, logic (this ain't no plug n chug situation), minimization, maximization, substitution of variables, reduction of 4 variable equations, computation of these 4 variable and quadratic equations, substitution of 2 variables into another, tables of values, and lots of looking at like 5 different quations using 4 different variables to compute!
I do not like Lagrange Relaxation or any long and arduous mathematical method that I have to do by hand. I know computer programs probably do this and more!!
I got homework due thursday. I'm kind of iffy about getting it done. I should not have entertained on Monday. Oh well.
- Mood:
annoyed
I've been having to do an XML project at work and I was wondering if anyone else who reads this has had experience in transforming xml using XSLT stylesheets to transform xml into plain text.
I've had success in such simple elements in xml format, but am stuck again when the file is more complicatied such as:
<parent>
<child1>
<tag>value</tag>
<tag>value</tag>
<grandchild1>
<tag>value</tag>
<tag>value</tag>
</grandchild>
<grandchild2>
<tag>value</tag>
<tag>value</tag>
</grandchild>
</child1>
<child2>
<tag>value</tag>
<tag>value</tag>
<grandchild3>
<tag>value</tag>
<tag>value</tag>
</grandchild>
<grandchild4>
<tag>value</tag>
<tag>value</tag>
</grandchild>
</child2>
.....
</parent>
*Note the tag elements are different names, but this pattern is repeatedly defined, of course.
So I want it to look like this
as a plain text output , deliminted by a special character such as | . (note the bullets are not output!). I don't want the tags themselves to be output, only the values
I've had success in such simple elements in xml format, but am stuck again when the file is more complicatied such as:
<parent>
<child1>
<tag>value</tag>
<tag>value</tag>
<grandchild1>
<tag>value</tag>
<tag>value</tag>
</grandchild>
<grandchild2>
<tag>value</tag>
<tag>value</tag>
</grandchild>
</child1>
<child2>
<tag>value</tag>
<tag>value</tag>
<grandchild3>
<tag>value</tag>
<tag>value</tag>
</grandchild>
<grandchild4>
<tag>value</tag>
<tag>value</tag>
</grandchild>
</child2>
.....
</parent>
*Note the tag elements are different names, but this pattern is repeatedly defined, of course.
So I want it to look like this
- child1_tag child1_tag grandchild1_tag grand_child1_tag
- child1_tag child1_tag grandchild2_tag grand_child2_tag
- child2_tag child2_tag grandchild3_tag grand_child3_tag
- child2_tag child2_tag grandchild4_tag grand_child4_tag
- .......
as a plain text output , deliminted by a special character such as | . (note the bullets are not output!). I don't want the tags themselves to be output, only the values
- Mood:
confused
| Your Personality is Very Rare (INTJ) |
![]() Your personality type is logical, uncompromising, independent, and nonconformist. Only about 3% of all people have your personality, including 2% of all women and 4% of all men. You are Introverted, Intuitive, Thinking, and Judging. |
- Mood:
amused
I didn't win the $370 million jackpot lottery :( ***
Guess I'll have to try again next time.
Guess I'll have to try again next time.
- Mood:
disappointed

