This is my code
`
h1=5.50976141309717e-5;
h1E=3.387313721637507e-5;
sigma=1e-19;
A=1.7973026455069553e-8;
kthP1=0;
cvx_begin
variables p1;
maximize(log(p1h1+sigma)-p1h1E/(kthP1+A));
subject
p1>= 0
p1<= 10
cvx_end
`
The variable p1 is in [0,10], but the answer of p1 is a negative value, could you tell me what causes this. And change the constraint of p1, the problem may be unsolvable.
I will be very grateful if you can solve my problems.